Changeset - 0245e0ebddd0
[Not reviewed]
stable
0 1 0
Mads Kiilerich (mads) - 20 months ago 2024-07-23 16:23:16
mads@kiilerich.com
hg: support new clonebundles_manifest write protocol command

A new wire protocol command was introduced with Mercurial 6.5 -
https://repo.mercurial-scm.org/hg/rev/4238e6b22fc4 .

When a client (after negotiation with the server) decided to use this new
command, Kallithea would fail safely and require write permissions.

Fixed by adding it to the list of known read-only commands.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/config/middleware/simplehg.py
Show inline comments
 
@@ -70,6 +70,7 @@ cmd_mapping = {
 
    'changegroupsubset': 'pull',
 
    'changesetdata': 'pull',
 
    'clonebundles': 'pull',
 
    'clonebundles_manifest': 'pull',
 
    'debugwireargs': 'pull',
 
    'filedata': 'pull',
 
    'getbundle': 'pull',
0 comments (0 inline, 0 general)