transplant: fix var name conflict introduced by 2912881c2a98
authorPeter Arrenbrecht <peter.arrenbrecht@gmail.com>
Sat, 18 Sep 2010 08:30:11 +0200
changeset 12349 7340b0fa049a
parent 12348 7f97b4841ee7
child 12350 e7e3b0618d8d
transplant: fix var name conflict introduced by 2912881c2a98
hgext/transplant.py
--- a/hgext/transplant.py	Mon Sep 20 16:25:29 2010 -0500
+++ b/hgext/transplant.py	Sat Sep 18 08:30:11 2010 +0200
@@ -48,9 +48,9 @@
             if not os.path.isdir(self.path):
                 os.mkdir(self.path)
             fp = self.opener(self.transplantfile, 'w')
-            for l in self.transplants.itervalues():
-                for c in l:
-                    l, r = map(revlog.hex, (c.lnode, c.rnode))
+            for list in self.transplants.itervalues():
+                for t in list:
+                    l, r = map(revlog.hex, (t.lnode, t.rnode))
                     fp.write(l + ':' + r + '\n')
             fp.close()
         self.dirty = False