equal
deleted
inserted
replaced
1679 |
1679 |
1680 # Bundling of obsmarker and phases is optional as not all clients |
1680 # Bundling of obsmarker and phases is optional as not all clients |
1681 # support the necessary features. |
1681 # support the necessary features. |
1682 cfg = ui.configbool |
1682 cfg = ui.configbool |
1683 obsolescence_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker') |
1683 obsolescence_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker') |
1684 bundlespec.set_param(b'obsolescence', obsolescence_cfg) |
1684 bundlespec.set_param(b'obsolescence', obsolescence_cfg, overwrite=False) |
1685 obs_mand_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker:mandatory') |
1685 obs_mand_cfg = cfg(b'experimental', b'evolution.bundle-obsmarker:mandatory') |
1686 bundlespec.set_param(b'obsolescence-mandatory', obs_mand_cfg) |
1686 bundlespec.set_param( |
|
1687 b'obsolescence-mandatory', obs_mand_cfg, overwrite=False |
|
1688 ) |
1687 phases_cfg = cfg(b'experimental', b'bundle-phases') |
1689 phases_cfg = cfg(b'experimental', b'bundle-phases') |
1688 bundlespec.set_param(b'phases', phases_cfg) |
1690 bundlespec.set_param(b'phases', phases_cfg, overwrite=False) |
1689 |
1691 |
1690 bundle2.writenewbundle( |
1692 bundle2.writenewbundle( |
1691 ui, |
1693 ui, |
1692 repo, |
1694 repo, |
1693 b'bundle', |
1695 b'bundle', |