##// END OF EJS Templates
revlog.children: use parentrevs instead of parents
Benoit Boissinot -
r3470:c6773b7e default
parent child Browse files
Show More
@@ -737,13 +737,9 b' class revlog(object):'
737 c = []
737 c = []
738 p = self.rev(node)
738 p = self.rev(node)
739 for r in range(p + 1, self.count()):
739 for r in range(p + 1, self.count()):
740 n = self.node(r)
740 for pr in self.parentrevs(n):
741 for pn in self.parents(n):
741 if pr == p:
742 if pn == node:
742 c.append(self.node(r))
743 c.append(n)
744 continue
745 elif pn == nullid:
746 continue
747 return c
743 return c
748
744
749 def lookup(self, id):
745 def lookup(self, id):
General Comments 0
You need to be logged in to leave comments. Login now