Submitter | via Mercurial-devel |
---|---|
Date | June 19, 2017, 8:48 p.m. |
Message ID | <56a750a6da9028f7f35b.1497905281@martinvonz.svl.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/21515/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/repair.py b/mercurial/repair.py --- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -216,9 +216,8 @@ for m in updatebm: bm[m] = repo[newbmtarget].node() - with repo.lock(): - with repo.transaction('repair') as tr: - bm.recordchange(tr) + with repo.transaction('repair') as tr: + bm.recordchange(tr) # remove undo files for undovfs, undofile in repo.undofiles():