Show More
@@ -2471,6 +2471,9 b' class revlog(object):' | |||
|
2471 | 2471 | elif p1r == nullrev and p2r != nullrev: |
|
2472 | 2472 | rank = 1 + self.fast_rank(p2r) |
|
2473 | 2473 | else: # merge node |
|
2474 | if rustdagop is not None and self.index.rust_ext_compat: | |
|
2475 | rank = rustdagop.rank(self.index, p1r, p2r) | |
|
2476 | else: | |
|
2474 | 2477 | pmin, pmax = sorted((p1r, p2r)) |
|
2475 | 2478 | rank = 1 + self.fast_rank(pmax) |
|
2476 | 2479 | rank += sum(1 for _ in self.findmissingrevs([pmax], [pmin])) |
General Comments 0
You need to be logged in to leave comments.
Login now