changeset 22908:71570f310417

commit: remove dead initialization of 'lock' The 'lock' variable is initialized to None, but before it's ever read, it's assigned again.
author Martin von Zweigbergk <martinvonz@gmail.com>
date Mon, 13 Oct 2014 14:34:53 -0700
parents a337f4b9b99d
children 4545c5b53013
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon Oct 13 16:43:37 2014 -0700
+++ b/mercurial/localrepo.py	Mon Oct 13 14:34:53 2014 -0700
@@ -1377,7 +1377,7 @@
         Revision information is passed via the context argument.
         """
 
-        tr = lock = None
+        tr = None
         p1, p2 = ctx.p1(), ctx.p2()
         user = ctx.user()