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