hgext3rd/topic/__init__.py
changeset 2890 1e3d97486861
parent 2889 31cbace4c0f1
child 2897 bd04a614b866
--- a/hgext3rd/topic/__init__.py	Tue Aug 29 19:12:00 2017 +0530
+++ b/hgext3rd/topic/__init__.py	Thu Aug 31 13:22:40 2017 +0200
@@ -64,7 +64,7 @@
     extensions,
     hg,
     localrepo,
-    lock,
+    lock as lockmod,
     merge,
     namespaces,
     node,
@@ -389,7 +389,7 @@
             rewrote = _changetopics(ui, repo, rev, topic)
             txn.close()
         finally:
-            lock.release(txn, l, wl)
+            lockmod.release(txn, l, wl)
             repo.invalidate()
             ui.status('changed topic on %d changes\n' % rewrote)
         return