fix: updated command list mapping for mercurial 6.5, after client upgrade a new command can be given which is clonebundles_manifest, we marked it explicit as pull command. Also added few more commands, fixes RCCE-111

This commit is contained in:
RhodeCode Admin 2024-07-24 09:46:05 +02:00
parent 905b038bea
commit 3f8807d95c

View file

@ -53,25 +53,31 @@ class SimpleHg(simplevcs.SimpleVCS):
return repo_name.rstrip('/')
_ACTION_MAPPING = {
'between': 'pull',
'branches': 'pull',
'branchmap': 'pull',
'capabilities': 'pull',
'changegroup': 'pull',
'changegroupsubset': 'pull',
'getbundle': 'pull',
'stream_out': 'pull',
'listkeys': 'pull',
'between': 'pull',
'branchmap': 'pull',
'branches': 'pull',
'changesetdata': 'pull',
'clonebundles': 'pull',
'capabilities': 'pull',
'clonebundles_manifest': 'pull',
'debugwireargs': 'pull',
'filedata': 'pull',
'getbundle': 'pull',
'heads': 'pull',
'lookup': 'pull',
'hello': 'pull',
'known': 'pull',
'listkeys': 'pull',
'lookup': 'pull',
'manifestdata': 'pull',
'narrow_widen': 'pull',
'protocaps': 'pull',
'stream_out': 'pull',
# largefiles
'putlfile': 'push',
'getlfile': 'pull',
'putlfile': 'push',
'statlfile': 'pull',
'lheads': 'pull',