80 SHARED_REQUIREMENT, |
80 SHARED_REQUIREMENT, |
81 SHARESAFE_REQUIREMENT, |
81 SHARESAFE_REQUIREMENT, |
82 SPARSEREVLOG_REQUIREMENT, |
82 SPARSEREVLOG_REQUIREMENT, |
83 RELATIVE_SHARED_REQUIREMENT, |
83 RELATIVE_SHARED_REQUIREMENT, |
84 REVLOG_COMPRESSION_ZSTD, |
84 REVLOG_COMPRESSION_ZSTD, |
|
85 DIRSTATE_V2_REQUIREMENT, |
85 // As of this writing everything rhg does is read-only. |
86 // As of this writing everything rhg does is read-only. |
86 // When it starts writing to the repository, it’ll need to either keep the |
87 // When it starts writing to the repository, it’ll need to either keep the |
87 // persistent nodemap up to date or remove this entry: |
88 // persistent nodemap up to date or remove this entry: |
88 NODEMAP_REQUIREMENT, |
89 NODEMAP_REQUIREMENT, |
89 ]; |
90 ]; |
90 |
91 |
91 // Copied from mercurial/requirements.py: |
92 // Copied from mercurial/requirements.py: |
|
93 |
|
94 pub(crate) const DIRSTATE_V2_REQUIREMENT: &str = "exp-dirstate-v2"; |
92 |
95 |
93 /// When narrowing is finalized and no longer subject to format changes, |
96 /// When narrowing is finalized and no longer subject to format changes, |
94 /// we should move this to just "narrow" or similar. |
97 /// we should move this to just "narrow" or similar. |
95 #[allow(unused)] |
98 #[allow(unused)] |
96 pub(crate) const NARROW_REQUIREMENT: &str = "narrowhg-experimental"; |
99 pub(crate) const NARROW_REQUIREMENT: &str = "narrowhg-experimental"; |