Mercurial > hg
changeset 51064:81f3877372c3
revlog: remove legacy usage of `_compute_rank`
All core code is now getting the setting from the DeltaConfig object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 10 Oct 2023 11:36:23 +0200 |
parents | 533d6943f6a3 |
children | 14574a41a7a7 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Tue Oct 10 11:33:33 2023 +0200 +++ b/mercurial/revlog.py Tue Oct 10 11:36:23 2023 +0200 @@ -2852,7 +2852,7 @@ sidedata_offset = 0 rank = RANK_UNKNOWN - if self._compute_rank: + if self.feature_config.compute_rank: if (p1r, p2r) == (nullrev, nullrev): rank = 1 elif p1r != nullrev and p2r == nullrev: