changeset 32930 | af31d531dda0 |
parent 32929 | d11e2343762b |
child 33032 | 8e3021fd1a44 |
--- a/mercurial/repair.py Thu Jun 15 23:09:14 2017 -0700 +++ b/mercurial/repair.py Thu Jun 15 22:46:38 2017 -0700 @@ -208,8 +208,8 @@ url=tmpbundleurl) else: txnname = "strip\n%s" % util.hidepassword(tmpbundleurl) - with repo.transaction(txnname): - gen.apply(repo, 'strip', tmpbundleurl, True) + with repo.transaction(txnname) as tr: + gen.apply(repo, tr, 'strip', tmpbundleurl, True) if not repo.ui.verbose: repo.ui.popbuffer() f.close()