hgext/drophack.py
changeset 1001 f7f4a1fac6c0
parent 812 60dd0c401034
child 1121 1a39b1b8e092
--- a/hgext/drophack.py	Sun Jul 13 21:54:03 2014 +0530
+++ b/hgext/drophack.py	Fri Jul 25 14:27:16 2014 +0200
@@ -106,7 +106,7 @@
     # lock from the beginning to prevent race
     wlock = lock = None
     try:
-        lock = repo.wlock()
+        wlock = repo.wlock()
         lock = repo.lock()
         # check they have no children
         if repo.revs('%ld and public()', revs):