mercurial/sshserver.py
changeset 22390 e2806b8613ca
parent 20933 d3775db748a0
child 25692 9f6e0e7ef828
equal deleted inserted replaced
22389:94f77624dbb5 22390:e2806b8613ca
   140         if not self.lock:
   140         if not self.lock:
   141             self.sendresponse("not locked")
   141             self.sendresponse("not locked")
   142             return
   142             return
   143 
   143 
   144         self.sendresponse("")
   144         self.sendresponse("")
   145         cg = changegroup.unbundle10(self.fin, "UN")
   145         cg = changegroup.cg1unpacker(self.fin, "UN")
   146         r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client())
   146         r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client())
   147         self.lock.release()
   147         self.lock.release()
   148         return str(r)
   148         return str(r)
   149 
   149 
   150     def _client(self):
   150     def _client(self):