diff mercurial/revlog.py @ 51039:a11179fb6bd9

revlog: skip opener options to pass candidate_group_chunk_size value We can directly set the option in the config object now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 10:02:45 +0200
parents cd16b6895f62
children 6ccb07b9eeeb
line wrap: on
line diff
--- a/mercurial/revlog.py	Tue Oct 10 10:02:37 2023 +0200
+++ b/mercurial/revlog.py	Tue Oct 10 10:02:45 2023 +0200
@@ -630,9 +630,6 @@
 
         if b'maxchainlen' in opts:
             self.delta_config.max_chain_len = opts[b'maxchainlen']
-        dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size')
-        if dps_cgds:
-            self.delta_config.candidate_group_chunk_size = dps_cgds
         if b'lazydelta' in opts:
             self.delta_config.lazy_delta = bool(opts[b'lazydelta'])
         if self._lazydelta and b'lazydeltabase' in opts: