mercurial/helptext/internals/revlogs.txt
changeset 45416 684083d104f9
parent 44921 5fe8f02ced6d
child 45636 9a6b409b8ebc
equal deleted inserted replaced
45415:451e13cc6d85 45416:684083d104f9
   213 ================
   213 ================
   214 
   214 
   215 Revision entries consist of an optional 1 byte header followed by an
   215 Revision entries consist of an optional 1 byte header followed by an
   216 encoding of the revision data. The headers are as follows:
   216 encoding of the revision data. The headers are as follows:
   217 
   217 
   218 \0 (0x00)
   218 \0  (0x00)
   219    Revision data is the entirety of the entry, including this header.
   219     Revision data is the entirety of the entry, including this header.
   220 u (0x75)
   220 (   (0x28)
   221    Raw revision data follows.
   221     zstd https://github.com/facebook/zstd
   222 x (0x78)
   222 u   (0x75)
   223    zlib (RFC 1950) data.
   223     Raw revision data follows.
   224 
   224 x   (0x78)
   225    The 0x78 value is actually the first byte of the zlib header (CMF byte).
   225     zlib (RFC 1950) data.
       
   226 
       
   227     The 0x78 value is actually the first byte of the zlib header (CMF byte).
   226 
   228 
   227 Hash Computation
   229 Hash Computation
   228 ================
   230 ================
   229 
   231 
   230 The hash of the revision is stored in the index and is used both as a primary
   232 The hash of the revision is stored in the index and is used both as a primary