Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshrepo.py @ 14537:3c7907dc95ca
sshrepo: fix addchangegroup's signature
Make it mirror the usage found in localrepo.push. This should only
affect pushes to pre-unbundle ssh servers.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 06 Jun 2011 21:02:48 +0200 |
parents | 1ffeeb91c55d |
children | f4522df38c65 |
line wrap: on
line diff
--- 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.'''