Mercurial > hg
changeset 20647:70d02abff434
histedit: clean up lock imports
We are alread importing the release function from lock, no need
to actually import the module too.
author | Olle Lundberg <geek@nerd.sh> |
---|---|
date | Wed, 05 Mar 2014 22:02:45 +0100 |
parents | a4d587c6e3dd |
children | 0838bd2f600f |
files | hgext/histedit.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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')):