97 REVIDX_ISCENSORED = repository.REVISION_FLAG_CENSORED |
97 REVIDX_ISCENSORED = repository.REVISION_FLAG_CENSORED |
98 # revision hash does not match data (narrowhg) |
98 # revision hash does not match data (narrowhg) |
99 REVIDX_ELLIPSIS = repository.REVISION_FLAG_ELLIPSIS |
99 REVIDX_ELLIPSIS = repository.REVISION_FLAG_ELLIPSIS |
100 # revision data is stored externally |
100 # revision data is stored externally |
101 REVIDX_EXTSTORED = repository.REVISION_FLAG_EXTSTORED |
101 REVIDX_EXTSTORED = repository.REVISION_FLAG_EXTSTORED |
102 # revision data contains extra metadata not part of the official digest |
|
103 REVIDX_SIDEDATA = repository.REVISION_FLAG_SIDEDATA |
|
104 # revision changes files in a way that could affect copy tracing. |
102 # revision changes files in a way that could affect copy tracing. |
105 REVIDX_HASCOPIESINFO = repository.REVISION_FLAG_HASCOPIESINFO |
103 REVIDX_HASCOPIESINFO = repository.REVISION_FLAG_HASCOPIESINFO |
106 REVIDX_DEFAULT_FLAGS = 0 |
104 REVIDX_DEFAULT_FLAGS = 0 |
107 # stable order in which flags need to be processed and their processors applied |
105 # stable order in which flags need to be processed and their processors applied |
108 REVIDX_FLAGS_ORDER = [ |
106 REVIDX_FLAGS_ORDER = [ |
109 REVIDX_ISCENSORED, |
107 REVIDX_ISCENSORED, |
110 REVIDX_ELLIPSIS, |
108 REVIDX_ELLIPSIS, |
111 REVIDX_EXTSTORED, |
109 REVIDX_EXTSTORED, |
112 REVIDX_SIDEDATA, |
|
113 REVIDX_HASCOPIESINFO, |
110 REVIDX_HASCOPIESINFO, |
114 ] |
111 ] |
115 |
112 |
116 # bitmark for flags that could cause rawdata content change |
113 # bitmark for flags that could cause rawdata content change |
117 REVIDX_RAWTEXT_CHANGING_FLAGS = ( |
114 REVIDX_RAWTEXT_CHANGING_FLAGS = REVIDX_ISCENSORED | REVIDX_EXTSTORED |
118 REVIDX_ISCENSORED | REVIDX_EXTSTORED | REVIDX_SIDEDATA |
|
119 ) |
|
120 |
115 |
121 SPARSE_REVLOG_MAX_CHAIN_LENGTH = 1000 |
116 SPARSE_REVLOG_MAX_CHAIN_LENGTH = 1000 |