mercurial/repair.py
changeset 28666 ae53ecc47414
parent 28466 c7d45c5a8cea
child 28868 445a25bb70be
--- a/mercurial/repair.py	Mon Mar 28 17:16:00 2016 -0500
+++ b/mercurial/repair.py	Mon Mar 28 14:41:29 2016 -0700
@@ -46,7 +46,7 @@
         bundletype = "HG10BZ"
     else:
         bundletype = "HG10UN"
-    return changegroup.writebundle(repo.ui, cg, name, bundletype, vfs,
+    return bundle2.writebundle(repo.ui, cg, name, bundletype, vfs,
                                    compression=comp)
 
 def _collectfiles(repo, striprev):