diff -r 8043ae3612e4 -r f7f4a1fac6c0 hgext/drophack.py --- 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):