hgext/fix.py
changeset 38420 c1f4364f9336
parent 37774 d6970628b95f
child 38423 32fba6fe893d
--- a/hgext/fix.py	Tue Jun 19 22:19:37 2018 -0700
+++ b/hgext/fix.py	Wed Jun 20 09:27:30 2018 -0700
@@ -133,7 +133,7 @@
             raise error.Abort(_('cannot specify both "--rev" and "--all"'))
         opts['rev'] = ['not public() and not obsolete()']
         opts['working_dir'] = True
-    with repo.wlock(), repo.lock():
+    with repo.wlock(), repo.lock(), repo.transaction('fix'):
         revstofix = getrevstofix(ui, repo, opts)
         basectxs = getbasectxs(repo, opts, revstofix)
         workqueue, numitems = getworkqueue(ui, repo, pats, opts, revstofix,