--- a/mercurial/localrepo.py Tue Aug 16 18:20:42 2022 +0200
+++ b/mercurial/localrepo.py Tue Aug 16 19:04:23 2022 +0200
@@ -1281,6 +1281,7 @@
"""
_basesupported = {
+ requirementsmod.ARCHIVED_PHASE_REQUIREMENT,
requirementsmod.BOOKMARKS_IN_STORE_REQUIREMENT,
requirementsmod.CHANGELOGV2_REQUIREMENT,
requirementsmod.COPIESSDC_REQUIREMENT,
@@ -3664,6 +3665,10 @@
if ui.configbool(b'format', b'internal-phase'):
requirements.add(requirementsmod.INTERNAL_PHASE_REQUIREMENT)
+ # experimental config: format.exp-archived-phase
+ if ui.configbool(b'format', b'exp-archived-phase'):
+ requirements.add(requirementsmod.ARCHIVED_PHASE_REQUIREMENT)
+
if createopts.get(b'narrowfiles'):
requirements.add(requirementsmod.NARROW_REQUIREMENT)