Show More
@@ -94,7 +94,10 b' 6-7 (2 bytes)' | |||||
94 |
|
94 | |||
95 | 0: REVIDX_ISCENSORED revision has censor metadata, must be verified. |
|
95 | 0: REVIDX_ISCENSORED revision has censor metadata, must be verified. | |
96 |
|
96 | |||
97 | 1: REVIDX_EXTSTORED revision data is stored externally. |
|
97 | 1: REVIDX_ELLIPSIS revision hash does not match its data. Used by | |
|
98 | narrowhg | |||
|
99 | ||||
|
100 | 2: REVIDX_EXTSTORED revision data is stored externally. | |||
98 |
|
101 | |||
99 | 8-11 (4 bytes) |
|
102 | 8-11 (4 bytes) | |
100 | Compressed length of revision data / chunk as stored in revlog. |
|
103 | Compressed length of revision data / chunk as stored in revlog. |
@@ -54,11 +54,13 b' REVLOGNG_FLAGS = REVLOGNGINLINEDATA | RE' | |||||
54 |
|
54 | |||
55 | # revlog index flags |
|
55 | # revlog index flags | |
56 | REVIDX_ISCENSORED = (1 << 15) # revision has censor metadata, must be verified |
|
56 | REVIDX_ISCENSORED = (1 << 15) # revision has censor metadata, must be verified | |
57 | REVIDX_EXTSTORED = (1 << 14) # revision data is stored externally |
|
57 | REVIDX_ELLIPSIS = (1 << 14) # revision hash does not match data (narrowhg) | |
|
58 | REVIDX_EXTSTORED = (1 << 13) # revision data is stored externally | |||
58 | REVIDX_DEFAULT_FLAGS = 0 |
|
59 | REVIDX_DEFAULT_FLAGS = 0 | |
59 | # stable order in which flags need to be processed and their processors applied |
|
60 | # stable order in which flags need to be processed and their processors applied | |
60 | REVIDX_FLAGS_ORDER = [ |
|
61 | REVIDX_FLAGS_ORDER = [ | |
61 | REVIDX_ISCENSORED, |
|
62 | REVIDX_ISCENSORED, | |
|
63 | REVIDX_ELLIPSIS, | |||
62 | REVIDX_EXTSTORED, |
|
64 | REVIDX_EXTSTORED, | |
63 | ] |
|
65 | ] | |
64 | REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) |
|
66 | REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) |
General Comments 0
You need to be logged in to leave comments.
Login now