# HG changeset patch # User Antoine Cezar # Date 2020-08-10 13:50:22 # Node ID 684083d104f91b937726ab4e8ad591b947307378 # Parent 451e13cc6d859c3a5f7971059265abdfb4e37ca3 documentation: add `zstd` compression to the internal `revlogs` documentation Differential Revision: https://phab.mercurial-scm.org/D8953 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 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 ================