##// END OF EJS Templates
help: format revlog.txt more closely to result...
Martin von Zweigbergk -
r30827:e997e482 default
parent child Browse files
Show More
@@ -85,32 +85,41 b' follows, with byte 0 being the first byt'
85 85
86 86 0-3 (4 bytes) (rev 0 only)
87 87 Revlog header
88
88 89 0-5 (6 bytes)
89 90 Absolute offset of revision data from beginning of revlog.
91
90 92 6-7 (2 bytes)
91 93 Bit flags impacting revision behavior. The following bit offsets define:
92 94 0: REVIDX_ISCENSORED revision has censor metadata, must be verified.
93 95 1: REVIDX_EXTSTORED revision data is stored externally.
96
94 97 8-11 (4 bytes)
95 98 Compressed length of revision data / chunk as stored in revlog.
99
96 100 12-15 (4 bytes)
97 101 Uncompressed length of revision data. This is the size of the full
98 102 revision data, not the size of the chunk post decompression.
103
99 104 16-19 (4 bytes)
100 105 Base or previous revision this revision's delta was produced against.
101 106 -1 means this revision holds full text (as opposed to a delta).
102 107 For generaldelta repos, this is the previous revision in the delta
103 108 chain. For non-generaldelta repos, this is the base or first
104 109 revision in the delta chain.
110
105 111 20-23 (4 bytes)
106 112 A revision this revision is *linked* to. This allows a revision in
107 113 one revlog to be forever associated with a revision in another
108 114 revlog. For example, a file's revlog may point to the changelog
109 115 revision that introduced it.
116
110 117 24-27 (4 bytes)
111 118 Revision of 1st parent. -1 indicates no parent.
119
112 120 28-31 (4 bytes)
113 121 Revision of 2nd parent. -1 indicates no 2nd parent.
122
114 123 32-63 (32 bytes)
115 124 Hash of revision's full text. Currently, SHA-1 is used and only
116 125 the first 20 bytes of this field are used. The rest of the bytes
General Comments 0
You need to be logged in to leave comments. Login now