commit: remove unused lock var
authorMatt Mackall <mpm@selenic.com>
Mon, 18 May 2009 17:36:24 -0500
changeset 8500 1024bef53d9e
parent 8499 fb9b83df45f3
child 8501 ab0e3f7ea315
commit: remove unused lock var
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon May 18 17:36:24 2009 -0500
+++ b/mercurial/localrepo.py	Mon May 18 17:36:24 2009 -0500
@@ -769,7 +769,7 @@
 
     def commit(self, files=None, text="", user=None, date=None, match=None,
                force=False, editor=False, extra={}):
-        wlock = lock = None
+        wlock = None
         if extra.get("close"):
             force = True
         if files: