Show More
@@ -94,7 +94,10 b' 6-7 (2 bytes)' | |||
|
94 | 94 | |
|
95 | 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 | 102 | 8-11 (4 bytes) |
|
100 | 103 | Compressed length of revision data / chunk as stored in revlog. |
@@ -54,11 +54,13 b' REVLOGNG_FLAGS = REVLOGNGINLINEDATA | RE' | |||
|
54 | 54 | |
|
55 | 55 | # revlog index flags |
|
56 | 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 | 59 | REVIDX_DEFAULT_FLAGS = 0 |
|
59 | 60 | # stable order in which flags need to be processed and their processors applied |
|
60 | 61 | REVIDX_FLAGS_ORDER = [ |
|
61 | 62 | REVIDX_ISCENSORED, |
|
63 | REVIDX_ELLIPSIS, | |
|
62 | 64 | REVIDX_EXTSTORED, |
|
63 | 65 | ] |
|
64 | 66 | REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) |
General Comments 0
You need to be logged in to leave comments.
Login now