# HG changeset patch # User RhodeCode Admin # Date 2024-07-24 07:46:05 # Node ID aa514264af080dabc0395150a732dccd8981ff7a # Parent 7209b095a63aa91f261216b4e6b361efa78a6d2e 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 diff --git a/rhodecode/lib/middleware/simplehg.py b/rhodecode/lib/middleware/simplehg.py --- a/rhodecode/lib/middleware/simplehg.py +++ b/rhodecode/lib/middleware/simplehg.py @@ -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', + 'changesetdata': 'pull', + 'clonebundles': 'pull', + 'clonebundles_manifest': 'pull', + 'debugwireargs': 'pull', + 'filedata': 'pull', 'getbundle': 'pull', - 'stream_out': 'pull', - 'listkeys': 'pull', - 'between': 'pull', - 'branchmap': 'pull', - 'branches': 'pull', - 'clonebundles': 'pull', - 'capabilities': 'pull', - 'debugwireargs': 'pull', 'heads': 'pull', - 'lookup': 'pull', 'hello': 'pull', 'known': 'pull', + 'listkeys': 'pull', + 'lookup': 'pull', + 'manifestdata': 'pull', + 'narrow_widen': 'pull', + 'protocaps': 'pull', + 'stream_out': 'pull', # largefiles + 'getlfile': 'pull', 'putlfile': 'push', - 'getlfile': 'pull', 'statlfile': 'pull', 'lheads': 'pull',