##// END OF EJS Templates
histedit: clean up lock imports...
Olle Lundberg -
r20647:70d02abf default
parent child Browse files
Show More
@@ -156,7 +156,6 b' from mercurial import error'
156 from mercurial import copies
156 from mercurial import copies
157 from mercurial import context
157 from mercurial import context
158 from mercurial import hg
158 from mercurial import hg
159 from mercurial import lock as lockmod
160 from mercurial import node
159 from mercurial import node
161 from mercurial import repair
160 from mercurial import repair
162 from mercurial import scmutil
161 from mercurial import scmutil
@@ -901,7 +900,7 b' def cleanupnode(ui, repo, name, nodes):'
901 # This would reduce bundle overhead
900 # This would reduce bundle overhead
902 repair.strip(ui, repo, c)
901 repair.strip(ui, repo, c)
903 finally:
902 finally:
904 lockmod.release(lock)
903 release(lock)
905
904
906 def summaryhook(ui, repo):
905 def summaryhook(ui, repo):
907 if not os.path.exists(repo.join('histedit-state')):
906 if not os.path.exists(repo.join('histedit-state')):
General Comments 0
You need to be logged in to leave comments. Login now