D10324: rhg: make rhg recognise it support zstd compression for revlogs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

D10324: rhg: make rhg recognise it support zstd compression for revlogs

marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  It already did, but was not aware of it.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10324

AFFECTED FILES
  rust/hg-core/src/requirements.rs

CHANGE DETAILS

diff --git a/rust/hg-core/src/requirements.rs b/rust/hg-core/src/requirements.rs
--- a/rust/hg-core/src/requirements.rs
+++ b/rust/hg-core/src/requirements.rs
@@ -81,6 +81,7 @@
     SHARESAFE_REQUIREMENT,
     SPARSEREVLOG_REQUIREMENT,
     RELATIVE_SHARED_REQUIREMENT,
+    REVLOG_COMPRESSION_STD,
     // As of this writing everything rhg does is read-only.
     // When it starts writing to the repository, it’ll need to either keep the
     // persistent nodemap up to date or remove this entry:
@@ -151,3 +152,7 @@
 /// `.hg/store/requires` are present.
 #[allow(unused)]
 pub(crate) const SHARESAFE_REQUIREMENT: &str = "share-safe";
+
+/// A repository that use zstd compression inside its revlog
+#[allow(unused)]
+pub(crate) const REVLOG_COMPRESSION_STD: &str = "revlog-compression-zstd";



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel