histedit: clean up lock imports
We are alread importing the release function from lock, no need
to actually import the module too.
--- 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')):