changeset 37540 | 693cb3768943 |
parent 37539 | 4a0d58d6faba |
child 37541 | 3e5e37204b32 |
--- a/mercurial/wireproto.py Mon Apr 09 11:54:31 2018 -0700 +++ b/mercurial/wireproto.py Mon Apr 09 11:57:12 2018 -0700 @@ -707,7 +707,7 @@ # For version 2 transports. commandsv2 = commanddict() -def wireprotocommand(name, args='', transportpolicy=POLICY_ALL, +def wireprotocommand(name, args='', transportpolicy=POLICY_V1_ONLY, permission='push'): """Decorator to declare a wire protocol command.