# HG changeset patch # User Peter Arrenbrecht # Date 2010-09-18 06:30:11 # Node ID 7340b0fa049acb960367810973497b32865eb989 # Parent 7f97b4841ee7802fc10fc551bf6f73a2ce9deef4 transplant: fix var name conflict introduced by 2912881c2a98 diff --git a/hgext/transplant.py b/hgext/transplant.py --- a/hgext/transplant.py +++ b/hgext/transplant.py @@ -48,9 +48,9 @@ class transplants(object): 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