mercurial/exchange.py
changeset 21071 19b9f23a8c6f
parent 21070 408877d491fb
child 21130 1ff06386217f
--- a/mercurial/exchange.py	Tue Apr 15 16:42:52 2014 -0400
+++ b/mercurial/exchange.py	Tue Apr 15 16:49:30 2014 -0400
@@ -694,10 +694,8 @@
         # push can proceed
         if util.safehasattr(cg, 'params'):
             tr = repo.transaction('unbundle')
-            ret = bundle2.processbundle(repo, cg, lambda: tr)
+            r = bundle2.processbundle(repo, cg, lambda: tr).reply
             tr.close()
-            stream = util.chunkbuffer(ret.reply.getchunks())
-            r = bundle2.unbundle20(repo.ui, stream)
         else:
             r = changegroup.addchangegroup(repo, cg, source, url)
     finally: