diff --git a/mercurial/repair.py b/mercurial/repair.py --- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -213,7 +213,7 @@ def strip(ui, repo, nodelist, backup=Tru txnname = "strip\n%s" % util.hidepassword(tmpbundleurl) with repo.transaction(txnname) as tr: bundle2.applybundle(repo, gen, tr, source='strip', - url=tmpbundleurl, emptyok=True) + url=tmpbundleurl) if not repo.ui.verbose: repo.ui.popbuffer() f.close()