diff mercurial/interfaces/repository.py @ 45356:f025b97f3758

repository: introduce constant for internal phase repo requirement and use it In future we will like to much cleaner logic around which requirement is for working copy and which can go in store. To start with that, we first need to de-clutter the requirement values spread around and replace them with constants. Differential Revision: https://phab.mercurial-scm.org/D8912
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 07 Aug 2020 18:01:48 +0530
parents a1f51c7dce0f
children e58e234096de
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Sat Aug 08 10:06:32 2020 -0700
+++ b/mercurial/interfaces/repository.py	Fri Aug 07 18:01:48 2020 +0530
@@ -18,6 +18,10 @@
 # Enables sparse working directory usage
 SPARSE_REQUIREMENT = b'exp-sparse'
 
+# Enables the internal phase which is used to hide changesets instead
+# of stripping them
+INTERNAL_PHASE_REQUIREMENT = b'internal-phase'
+
 # Local repository feature string.
 
 # Revlogs are being used for file storage.