mercurial/bundle2.py
changeset 22390 e2806b8613ca
parent 22344 9829b7948100
child 22548 8a1ae133770a
--- a/mercurial/bundle2.py	Tue Aug 19 01:13:10 2014 +0200
+++ b/mercurial/bundle2.py	Tue Sep 02 12:11:36 2014 +0200
@@ -820,7 +820,7 @@
     # we need to make sure we trigger the creation of a transaction object used
     # for the whole processing scope.
     op.gettransaction()
-    cg = changegroup.unbundle10(inpart, 'UN')
+    cg = changegroup.cg1unpacker(inpart, 'UN')
     ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2')
     op.records.add('changegroup', {'return': ret})
     if op.reply is not None: