Mercurial > hg
changeset 12349:7340b0fa049a
transplant: fix var name conflict introduced by 2912881c2a98
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Sat, 18 Sep 2010 08:30:11 +0200 |
parents | 7f97b4841ee7 |
children | e7e3b0618d8d |
files | hgext/transplant.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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