# HG changeset patch # User Pierre-Yves David # Date 1696930583 -7200 # Node ID 81f3877372c3af657348d36be3d352dd99ec02fc # Parent 533d6943f6a3aab0724b4189208c4ad3399e6cf6 revlog: remove legacy usage of `_compute_rank` All core code is now getting the setting from the DeltaConfig object. diff -r 533d6943f6a3 -r 81f3877372c3 mercurial/revlog.py --- 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: