mercurial/commands.py
changeset 49327 5bc3e76f919d
parent 49325 bf66f7a1e3f8
child 49365 79b2c98ab7b4
--- 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,