mercurial/wireproto.py
changeset 21063 7ca4f2049d3b
parent 21024 7731a2281cf0
child 21064 4d9d490d7bbe
--- a/mercurial/wireproto.py	Mon Apr 14 14:46:32 2014 -0400
+++ b/mercurial/wireproto.py	Mon Apr 14 15:33:50 2014 -0400
@@ -766,7 +766,7 @@
         try:
             proto.getfile(fp)
             fp.seek(0)
-            gen = changegroupmod.readbundle(fp, None)
+            gen = exchange.readbundle(fp, None)
             r = exchange.unbundle(repo, gen, their_heads, 'serve',
                                   proto._client())
             return pushres(r)