hgext/histedit.py
changeset 20647 70d02abff434
parent 20511 5840da876235
child 20648 0838bd2f600f
--- a/hgext/histedit.py	Wed Mar 05 17:42:05 2014 -0800
+++ b/hgext/histedit.py	Wed Mar 05 22:02:45 2014 +0100
@@ -156,7 +156,6 @@
 from mercurial import copies
 from mercurial import context
 from mercurial import hg
-from mercurial import lock as lockmod
 from mercurial import node
 from mercurial import repair
 from mercurial import scmutil
@@ -901,7 +900,7 @@
             # This would reduce bundle overhead
             repair.strip(ui, repo, c)
     finally:
-        lockmod.release(lock)
+        release(lock)
 
 def summaryhook(ui, repo):
     if not os.path.exists(repo.join('histedit-state')):