mercurial/repair.py
changeset 33051 b82615afde65
parent 33044 8e3021fd1a44
child 33054 dbc2ee17053e
--- a/mercurial/repair.py	Thu Jun 22 15:59:07 2017 -0700
+++ b/mercurial/repair.py	Fri Jun 16 10:25:11 2017 -0700
@@ -214,7 +214,8 @@
             else:
                 txnname = "strip\n%s" % util.hidepassword(tmpbundleurl)
                 with repo.transaction(txnname) as tr:
-                    gen.apply(repo, tr, 'strip', tmpbundleurl, True)
+                    bundle2.applybundle1(repo, gen, tr, 'strip', tmpbundleurl,
+                                         emptyok=True)
             if not repo.ui.verbose:
                 repo.ui.popbuffer()
             f.close()