Mercurial > hg
changeset 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 | 52cbeb5a651b |
children | 3818c67a501e 72613f4a9016 4d36013ab330 |
files | mercurial/sshrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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.'''