[Updated] D10324: rhg: make rhg recognise it supports zstd compression for revlogs

baymax (Baymax, Your Personal Patch-care Companion) phabricator at mercurial-scm.org
Wed Apr 7 16:01:01 UTC 2021


baymax added a comment.
baymax retitled this revision from "rhg: make rhg recognise it support zstd compression for revlogs" to "rhg: make rhg recognise it supports zstd compression for revlogs".
baymax updated this revision to Diff 26676.


  ✅ refresh by Heptapod after a successful CI run (🐙 💚)

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10324?vs=26673&id=26676

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10324/new/

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210407/d55e470d/attachment-0002.html>


More information about the Mercurial-patches mailing list