mercurial/wireproto.py
changeset 36070 90ca4986616c
parent 36069 957e773614d0
child 36071 038bcb759b75
--- a/mercurial/wireproto.py	Wed Feb 07 20:24:22 2018 -0800
+++ b/mercurial/wireproto.py	Thu Feb 01 17:12:07 2018 -0800
@@ -1008,7 +1008,7 @@
             fp = os.fdopen(fd, pycompat.sysstr('wb+'))
             r = 0
             try:
-                proto.getfile(fp)
+                proto.forwardpayload(fp)
                 fp.seek(0)
                 gen = exchange.readbundle(repo.ui, fp, None)
                 if (isinstance(gen, changegroupmod.cg1unpacker)