Patchwork [1,of,3] help: format revlog.txt more closely to result

login
register
mail settings
Submitter via Mercurial-devel
Date Jan. 17, 2017, 8:10 p.m.
Message ID <2fa3f64c5bf451e7623e.1484683829@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/18238/
State Accepted
Headers show

Comments

via Mercurial-devel - Jan. 17, 2017, 8:10 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1484681346 28800
#      Tue Jan 17 11:29:06 2017 -0800
# Node ID 2fa3f64c5bf451e7623ee7bb294ac35f9b2228a3
# Parent  4c0a5a256ae806fab18d56b3c44a8d1c98a40ce0
help: format revlog.txt more closely to result

The rendered text has spaces before each item in the list

Patch

diff -r 4c0a5a256ae8 -r 2fa3f64c5bf4 mercurial/help/internals/revlogs.txt
--- a/mercurial/help/internals/revlogs.txt	Fri Jan 13 20:16:56 2017 -0800
+++ b/mercurial/help/internals/revlogs.txt	Tue Jan 17 11:29:06 2017 -0800
@@ -85,32 +85,41 @@ 
 
 0-3 (4 bytes) (rev 0 only)
    Revlog header
+
 0-5 (6 bytes)
    Absolute offset of revision data from beginning of revlog.
+
 6-7 (2 bytes)
    Bit flags impacting revision behavior. The following bit offsets define:
    0: REVIDX_ISCENSORED revision has censor metadata, must be verified.
    1: REVIDX_EXTSTORED revision data is stored externally.
+
 8-11 (4 bytes)
    Compressed length of revision data / chunk as stored in revlog.
+
 12-15 (4 bytes)
    Uncompressed length of revision data. This is the size of the full
    revision data, not the size of the chunk post decompression.
+
 16-19 (4 bytes)
    Base or previous revision this revision's delta was produced against.
    -1 means this revision holds full text (as opposed to a delta).
    For generaldelta repos, this is the previous revision in the delta
    chain. For non-generaldelta repos, this is the base or first
    revision in the delta chain.
+
 20-23 (4 bytes)
    A revision this revision is *linked* to. This allows a revision in
    one revlog to be forever associated with a revision in another
    revlog. For example, a file's revlog may point to the changelog
    revision that introduced it.
+
 24-27 (4 bytes)
    Revision of 1st parent. -1 indicates no parent.
+
 28-31 (4 bytes)
    Revision of 2nd parent. -1 indicates no 2nd parent.
+
 32-63 (32 bytes)
    Hash of revision's full text. Currently, SHA-1 is used and only
    the first 20 bytes of this field are used. The rest of the bytes