mercurial/sshrepo.py
changeset 14537 3c7907dc95ca
parent 14494 1ffeeb91c55d
child 15017 f4522df38c65
equal deleted inserted replaced
14536:52cbeb5a651b 14537:3c7907dc95ca
   184         return remotelock(self)
   184         return remotelock(self)
   185 
   185 
   186     def unlock(self):
   186     def unlock(self):
   187         self._call("unlock")
   187         self._call("unlock")
   188 
   188 
   189     def addchangegroup(self, cg, source, url):
   189     def addchangegroup(self, cg, source, url, lock=None):
   190         '''Send a changegroup to the remote server.  Return an integer
   190         '''Send a changegroup to the remote server.  Return an integer
   191         similar to unbundle(). DEPRECATED, since it requires locking the
   191         similar to unbundle(). DEPRECATED, since it requires locking the
   192         remote.'''
   192         remote.'''
   193         d = self._call("addchangegroup")
   193         d = self._call("addchangegroup")
   194         if d:
   194         if d: