Show More
@@ -90,6 +90,7 b' 0-5 (6 bytes)' | |||||
90 | 6-7 (2 bytes) |
|
90 | 6-7 (2 bytes) | |
91 | Bit flags impacting revision behavior. The following bit offsets define: |
|
91 | Bit flags impacting revision behavior. The following bit offsets define: | |
92 | 0: REVIDX_ISCENSORED revision has censor metadata, must be verified. |
|
92 | 0: REVIDX_ISCENSORED revision has censor metadata, must be verified. | |
|
93 | 1: REVIDX_EXTSTORED revision data is stored externally. | |||
93 | 8-11 (4 bytes) |
|
94 | 8-11 (4 bytes) | |
94 | Compressed length of revision data / chunk as stored in revlog. |
|
95 | Compressed length of revision data / chunk as stored in revlog. | |
95 | 12-15 (4 bytes) |
|
96 | 12-15 (4 bytes) |
@@ -54,10 +54,12 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_DEFAULT_FLAGS = 0 |
|
58 | REVIDX_DEFAULT_FLAGS = 0 | |
58 | # stable order in which flags need to be processed and their processors applied |
|
59 | # stable order in which flags need to be processed and their processors applied | |
59 | REVIDX_FLAGS_ORDER = [ |
|
60 | REVIDX_FLAGS_ORDER = [ | |
60 | REVIDX_ISCENSORED, |
|
61 | REVIDX_ISCENSORED, | |
|
62 | REVIDX_EXTSTORED, | |||
61 | ] |
|
63 | ] | |
62 | REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) |
|
64 | REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) | |
63 |
|
65 |
General Comments 0
You need to be logged in to leave comments.
Login now