changeset 45402:684083d104f9

documentation: add `zstd` compression to the internal `revlogs` documentation Differential Revision: https://phab.mercurial-scm.org/D8953
author Antoine Cezar <antoine.cezar@octobus.net>
date Mon, 10 Aug 2020 15:50:22 +0200
parents 451e13cc6d85
children 6a0e7bf73bb2
files mercurial/helptext/internals/revlogs.txt
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/internals/revlogs.txt	Sat Aug 29 14:35:18 2020 +0530
+++ b/mercurial/helptext/internals/revlogs.txt	Mon Aug 10 15:50:22 2020 +0200
@@ -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
 ================