Mercurial > hg
diff mercurial/revlogutils/deltas.py @ 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 | 96f521df2508 |
children | 8bdb2478c4bc |
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(