Patchwork D8953: documentation: add zstd compression to the insternal revlogs documentation

login
register
mail settings
Submitter phabricator
Date Aug. 26, 2020, 1:23 p.m.
Message ID <differential-rev-PHID-DREV-jgyqvssr6hutgijlnkdo-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47053/
State Superseded
Headers show

Comments

phabricator - Aug. 26, 2020, 1:23 p.m.
acezar created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/helptext/internals/revlogs.txt

CHANGE DETAILS




To: acezar, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/helptext/internals/revlogs.txt b/mercurial/helptext/internals/revlogs.txt
--- a/mercurial/helptext/internals/revlogs.txt
+++ b/mercurial/helptext/internals/revlogs.txt
@@ -215,14 +215,16 @@ 
 Revision entries consist of an optional 1 byte header followed by an
 encoding of the revision data. The headers are as follows:
 
-\0 (0x00)
-   Revision data is the entirety of the entry, including this header.
-u (0x75)
-   Raw revision data follows.
-x (0x78)
-   zlib (RFC 1950) data.
+\0  (0x00)
+    Revision data is the entirety of the entry, including this header.
+(   (0x28)
+    zstd https://github.com/facebook/zstd
+u   (0x75)
+    Raw revision data follows.
+x   (0x78)
+    zlib (RFC 1950) data.
 
-   The 0x78 value is actually the first byte of the zlib header (CMF byte).
+    The 0x78 value is actually the first byte of the zlib header (CMF byte).
 
 Hash Computation
 ================