commit: remove dead initialization of 'lock'
The 'lock' variable is initialized to None, but before it's ever read,
it's assigned again.
--- 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()