--- a/mercurial/commands.py Tue May 17 18:14:32 2022 +0100
+++ b/mercurial/commands.py Tue May 24 18:43:24 2022 +0200
@@ -1681,11 +1681,13 @@
# support the necessary features.
cfg = ui.configbool
obsolescence_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker')
- bundlespec.set_param(b'obsolescence', obsolescence_cfg)
+ bundlespec.set_param(b'obsolescence', obsolescence_cfg, overwrite=False)
obs_mand_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker:mandatory')
- bundlespec.set_param(b'obsolescence-mandatory', obs_mand_cfg)
+ bundlespec.set_param(
+ b'obsolescence-mandatory', obs_mand_cfg, overwrite=False
+ )
phases_cfg = cfg(b'experimental', b'bundle-phases')
- bundlespec.set_param(b'phases', phases_cfg)
+ bundlespec.set_param(b'phases', phases_cfg, overwrite=False)
bundle2.writenewbundle(
ui,