mercurial/repair.py
changeset 32943 4c6e4a4486a0
parent 32942 f044295cdb7a
child 32947 d11e2343762b
--- a/mercurial/repair.py	Mon Jun 19 13:18:00 2017 -0700
+++ b/mercurial/repair.py	Mon Jun 19 11:24:49 2017 -0700
@@ -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():