changeset 12349 | 7340b0fa049a |
parent 12347 | 6277a9469dff |
child 12581 | 19dabc8a3236 |
--- 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