diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1089,10 +1089,9 @@ def resolverevlogstorevfsoptions(ui, req if chunkcachesize is not None: data_config.chunk_cache_size = chunkcachesize - deltabothparents = ui.configbool( + delta_config.delta_both_parents = ui.configbool( b'storage', b'revlog.optimize-delta-parent-choice' ) - options[b'deltabothparents'] = deltabothparents dps_cgds = ui.configint( b'storage', b'revlog.delta-parent-search.candidate-group-chunk-size', diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -630,8 +630,6 @@ class revlog: if b'maxchainlen' in opts: self.delta_config.max_chain_len = opts[b'maxchainlen'] - if b'deltabothparents' in opts: - self.delta_config.delta_both_parents = opts[b'deltabothparents'] dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size') if dps_cgds: self.delta_config.candidate_group_chunk_size = dps_cgds