Skip to content
Snippets Groups Projects
Commit 4c6e4a4486a0 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

repair: remove unnecessary locking for bookmarks

The caller has already locked the repo.
parent f044295cdb7a
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment