##// END OF EJS Templates
revlog: remove legacy usage of `_compute_rank`...
marmoute -
r51957:81f38773 default
parent child Browse files
Show More
@@ -2852,7 +2852,7 b' class revlog:'
2852 sidedata_offset = 0
2852 sidedata_offset = 0
2853
2853
2854 rank = RANK_UNKNOWN
2854 rank = RANK_UNKNOWN
2855 if self._compute_rank:
2855 if self.feature_config.compute_rank:
2856 if (p1r, p2r) == (nullrev, nullrev):
2856 if (p1r, p2r) == (nullrev, nullrev):
2857 rank = 1
2857 rank = 1
2858 elif p1r != nullrev and p2r == nullrev:
2858 elif p1r != nullrev and p2r == nullrev:
General Comments 0
You need to be logged in to leave comments. Login now