comparison mercurial/interfaces/repository.py @ 45371:e58e234096de

repository: introduce constant for treemanifest 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/D8916
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 08 Aug 2020 15:48:17 +0530
parents f025b97f3758
children 77b8588dd84e
comparison
equal deleted inserted replaced
45370:15d35f2ba474 45371:e58e234096de
19 SPARSE_REQUIREMENT = b'exp-sparse' 19 SPARSE_REQUIREMENT = b'exp-sparse'
20 20
21 # Enables the internal phase which is used to hide changesets instead 21 # Enables the internal phase which is used to hide changesets instead
22 # of stripping them 22 # of stripping them
23 INTERNAL_PHASE_REQUIREMENT = b'internal-phase' 23 INTERNAL_PHASE_REQUIREMENT = b'internal-phase'
24
25 # Stores manifest in Tree structure
26 TREEMANIFEST_REQUIREMENT = b'treemanifest'
24 27
25 # Local repository feature string. 28 # Local repository feature string.
26 29
27 # Revlogs are being used for file storage. 30 # Revlogs are being used for file storage.
28 REPO_FEATURE_REVLOG_FILE_STORAGE = b'revlogfilestorage' 31 REPO_FEATURE_REVLOG_FILE_STORAGE = b'revlogfilestorage'