changeset 51055:fa7d307e2150

revlog: remove legacy usage of `_candidate_group_chunk_size` All core code is now getting the setting from the DeltaConfig object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 11 Oct 2023 00:04:23 +0200
parents ab2bc31fa91f
children f0756d0636d1
files mercurial/revlogutils/deltas.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlogutils/deltas.py	Wed Oct 11 00:04:08 2023 +0200
+++ b/mercurial/revlogutils/deltas.py	Wed Oct 11 00:04:23 2023 +0200
@@ -719,7 +719,7 @@
     good = None
 
     deltas_limit = textlen * LIMIT_DELTA2TEXT
-    group_chunk_size = revlog._candidate_group_chunk_size
+    group_chunk_size = revlog.delta_config.candidate_group_chunk_size
 
     tested = {nullrev}
     candidates = _refinedgroups(