diff mercurial/wireproto.py @ 14048:58e58406ed19

wireproto: add test for new optional arg missing on server New argument is silently ignored by both HTTP and SSH servers. This means we can, for instance, add new flags to getbundle() to request advanced features (like lightweight-copy-aware bundles), and older servers will silently ignore this request and send back a plain bundle.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Fri, 29 Apr 2011 14:54:01 +0200
parents 88f0e41d8802
children e4bfb9c337f3
line wrap: on
line diff
--- a/mercurial/wireproto.py	Sat Apr 30 02:42:05 2011 -0500
+++ b/mercurial/wireproto.py	Fri Apr 29 14:54:01 2011 +0200
@@ -159,7 +159,7 @@
             self.ui.status(_('remote: '), l)
         return ret
 
-    def debugwireargs(self, one, two, three=None, four=None):
+    def debugwireargs(self, one, two, three=None, four=None, five=None):
         # don't pass optional arguments left at their default value
         opts = {}
         if three is not None: