##// END OF EJS Templates
transplant: fix var name conflict introduced by 2912881c2a98
Peter Arrenbrecht -
r12349:7340b0fa default
parent child Browse files
Show More
@@ -48,9 +48,9 b' class transplants(object):'
48 if not os.path.isdir(self.path):
48 if not os.path.isdir(self.path):
49 os.mkdir(self.path)
49 os.mkdir(self.path)
50 fp = self.opener(self.transplantfile, 'w')
50 fp = self.opener(self.transplantfile, 'w')
51 for l in self.transplants.itervalues():
51 for list in self.transplants.itervalues():
52 for c in l:
52 for t in list:
53 l, r = map(revlog.hex, (c.lnode, c.rnode))
53 l, r = map(revlog.hex, (t.lnode, t.rnode))
54 fp.write(l + ':' + r + '\n')
54 fp.write(l + ':' + r + '\n')
55 fp.close()
55 fp.close()
56 self.dirty = False
56 self.dirty = False
General Comments 0
You need to be logged in to leave comments. Login now