sshrepo: fix addchangegroup's signature
Make it mirror the usage found in localrepo.push. This should only
affect pushes to pre-unbundle ssh servers.
--- a/mercurial/sshrepo.py Mon Jun 06 15:17:40 2011 -0500
+++ b/mercurial/sshrepo.py Mon Jun 06 21:02:48 2011 +0200
@@ -186,7 +186,7 @@
def unlock(self):
self._call("unlock")
- def addchangegroup(self, cg, source, url):
+ def addchangegroup(self, cg, source, url, lock=None):
'''Send a changegroup to the remote server. Return an integer
similar to unbundle(). DEPRECATED, since it requires locking the
remote.'''