equal
deleted
inserted
replaced
215 |
215 |
216 @registerformatvariant |
216 @registerformatvariant |
217 class dotencode(requirementformatvariant): |
217 class dotencode(requirementformatvariant): |
218 name = b'dotencode' |
218 name = b'dotencode' |
219 |
219 |
220 _requirement = b'dotencode' |
220 _requirement = requirements.DOTENCODE_REQUIREMENT |
221 |
221 |
222 default = True |
222 default = True |
223 |
223 |
224 description = _( |
224 description = _( |
225 b'storage of filenames beginning with a period or ' |
225 b'storage of filenames beginning with a period or ' |
932 the upgrade is disallowed. |
932 the upgrade is disallowed. |
933 |
933 |
934 Extensions should monkeypatch this to add their custom requirements. |
934 Extensions should monkeypatch this to add their custom requirements. |
935 """ |
935 """ |
936 supported = { |
936 supported = { |
937 b'dotencode', |
937 requirements.DOTENCODE_REQUIREMENT, |
938 b'fncache', |
938 b'fncache', |
939 requirements.GENERALDELTA_REQUIREMENT, |
939 requirements.GENERALDELTA_REQUIREMENT, |
940 requirements.REVLOGV1_REQUIREMENT, |
940 requirements.REVLOGV1_REQUIREMENT, |
941 b'store', |
941 b'store', |
942 requirements.SPARSEREVLOG_REQUIREMENT, |
942 requirements.SPARSEREVLOG_REQUIREMENT, |
963 We use a list of allowed requirement additions instead of a list of known |
963 We use a list of allowed requirement additions instead of a list of known |
964 bad additions because the whitelist approach is safer and will prevent |
964 bad additions because the whitelist approach is safer and will prevent |
965 future, unknown requirements from accidentally being added. |
965 future, unknown requirements from accidentally being added. |
966 """ |
966 """ |
967 supported = { |
967 supported = { |
968 b'dotencode', |
968 requirements.DOTENCODE_REQUIREMENT, |
969 b'fncache', |
969 b'fncache', |
970 requirements.GENERALDELTA_REQUIREMENT, |
970 requirements.GENERALDELTA_REQUIREMENT, |
971 requirements.SPARSEREVLOG_REQUIREMENT, |
971 requirements.SPARSEREVLOG_REQUIREMENT, |
972 requirements.SIDEDATA_REQUIREMENT, |
972 requirements.SIDEDATA_REQUIREMENT, |
973 requirements.COPIESSDC_REQUIREMENT, |
973 requirements.COPIESSDC_REQUIREMENT, |