mercurial/hg.py
changeset 41365 876494fd967d
parent 41236 44a51c1c8e17
child 41391 bc843e251134
--- a/mercurial/hg.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/mercurial/hg.py	Thu Jan 17 09:17:12 2019 -0800
@@ -282,7 +282,7 @@
     called.
     """
 
-    destlock = lock = None
+    destlock = None
     lock = repo.lock()
     try:
         # we use locks here because if we race with commit, we