diff mercurial/requirements.py @ 49475:0c70d888a484

phase: introduce a dedicated requirement for the `archived` phase See inline documentation for details.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 16 Aug 2022 19:04:23 +0200
parents 6000f5b25c9b
children 74fb1842f8b9
line wrap: on
line diff
--- a/mercurial/requirements.py	Tue Aug 16 18:20:42 2022 +0200
+++ b/mercurial/requirements.py	Tue Aug 16 19:04:23 2022 +0200
@@ -31,6 +31,10 @@
 # of stripping them
 INTERNAL_PHASE_REQUIREMENT = b'internal-phase'
 
+# Enables the internal phase which is used to hide changesets instead
+# of stripping them
+ARCHIVED_PHASE_REQUIREMENT = b'exp-archived-phase'
+
 # Stores manifest in Tree structure
 TREEMANIFEST_REQUIREMENT = b'treemanifest'
 
@@ -107,6 +111,7 @@
 #
 # note: the list is currently inherited from previous code and miss some relevant requirement while containing some irrelevant ones.
 STREAM_FIXED_REQUIREMENTS = {
+    ARCHIVED_PHASE_REQUIREMENT,
     BOOKMARKS_IN_STORE_REQUIREMENT,
     CHANGELOGV2_REQUIREMENT,
     COPIESSDC_REQUIREMENT,