rust/hg-core/src/requirements.rs
changeset 46873 0abf5eba0042
parent 46614 a069639783a0
child 47229 21b3e6116bd1
equal deleted inserted replaced
46872:8bca353b1ebc 46873:0abf5eba0042
    79     "generaldelta",
    79     "generaldelta",
    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     // As of this writing everything rhg does is read-only.
    85     // As of this writing everything rhg does is read-only.
    85     // When it starts writing to the repository, it’ll need to either keep the
    86     // When it starts writing to the repository, it’ll need to either keep the
    86     // persistent nodemap up to date or remove this entry:
    87     // persistent nodemap up to date or remove this entry:
    87     NODEMAP_REQUIREMENT,
    88     NODEMAP_REQUIREMENT,
    88 ];
    89 ];
   149 /// A repository with share implemented safely. The repository has different
   150 /// A repository with share implemented safely. The repository has different
   150 /// store and working copy requirements i.e. both `.hg/requires` and
   151 /// store and working copy requirements i.e. both `.hg/requires` and
   151 /// `.hg/store/requires` are present.
   152 /// `.hg/store/requires` are present.
   152 #[allow(unused)]
   153 #[allow(unused)]
   153 pub(crate) const SHARESAFE_REQUIREMENT: &str = "share-safe";
   154 pub(crate) const SHARESAFE_REQUIREMENT: &str = "share-safe";
       
   155 
       
   156 /// A repository that use zstd compression inside its revlog
       
   157 #[allow(unused)]
       
   158 pub(crate) const REVLOG_COMPRESSION_ZSTD: &str = "revlog-compression-zstd";