mercurial/sshserver.py
changeset 20933 d3775db748a0
parent 20903 8d477543882b
child 22390 e2806b8613ca
--- a/mercurial/sshserver.py	Tue Apr 01 15:21:56 2014 -0700
+++ b/mercurial/sshserver.py	Tue Apr 01 15:27:53 2014 -0700
@@ -143,7 +143,7 @@
 
         self.sendresponse("")
         cg = changegroup.unbundle10(self.fin, "UN")
-        r = self.repo.addchangegroup(cg, 'serve', self._client())
+        r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client())
         self.lock.release()
         return str(r)