# HG changeset patch # User Mads Kiilerich # Date 2024-07-23 14:23:16 # Node ID 0245e0ebddd09c6bcc7b1cd74708cf19a49ee57e # Parent 792eca76d39c6a86c95a3de69b513309644a7b04 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. diff --git a/kallithea/config/middleware/simplehg.py b/kallithea/config/middleware/simplehg.py --- a/kallithea/config/middleware/simplehg.py +++ b/kallithea/config/middleware/simplehg.py @@ -70,6 +70,7 @@ cmd_mapping = { 'changegroupsubset': 'pull', 'changesetdata': 'pull', 'clonebundles': 'pull', + 'clonebundles_manifest': 'pull', 'debugwireargs': 'pull', 'filedata': 'pull', 'getbundle': 'pull',