Show More
@@ -756,9 +756,13 b' class revlog(object):' | |||||
756 | c = [] |
|
756 | c = [] | |
757 | p = self.rev(node) |
|
757 | p = self.rev(node) | |
758 | for r in range(p + 1, self.count()): |
|
758 | for r in range(p + 1, self.count()): | |
759 |
for pr in self.parentrevs(r) |
|
759 | prevs = [pr for pr in self.parentrevs(r) if pr != nullrev] | |
760 |
|
|
760 | if prevs: | |
761 | c.append(self.node(r)) |
|
761 | for pr in prevs: | |
|
762 | if pr == p: | |||
|
763 | c.append(self.node(r)) | |||
|
764 | elif p == nullrev: | |||
|
765 | c.append(self.node(r)) | |||
762 | return c |
|
766 | return c | |
763 |
|
767 | |||
764 | def _match(self, id): |
|
768 | def _match(self, id): |
General Comments 0
You need to be logged in to leave comments.
Login now