Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 48604:348d2c6b5048
requirements: remove the `localrepo.supportedformat` attribute
It is not longer used anywhere.
Differential Revision: https://phab.mercurial-scm.org/D12035
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 17 Jan 2022 19:29:41 +0100 |
parents | 3a8bc0b48e51 |
children | 6fd9a17c32ab |
comparison
equal
deleted
inserted
replaced
48603:3a8bc0b48e51 | 48604:348d2c6b5048 |
---|---|
1272 ``hg.repository()`` adds more extension integration, including calling | 1272 ``hg.repository()`` adds more extension integration, including calling |
1273 ``reposetup()``. Generally speaking, ``hg.repository()`` should be | 1273 ``reposetup()``. Generally speaking, ``hg.repository()`` should be |
1274 used. | 1274 used. |
1275 """ | 1275 """ |
1276 | 1276 |
1277 supportedformats = { | 1277 _basesupported = { |
1278 requirementsmod.REVLOGV1_REQUIREMENT, | 1278 requirementsmod.BOOKMARKS_IN_STORE_REQUIREMENT, |
1279 requirementsmod.GENERALDELTA_REQUIREMENT, | 1279 requirementsmod.CHANGELOGV2_REQUIREMENT, |
1280 requirementsmod.TREEMANIFEST_REQUIREMENT, | |
1281 requirementsmod.COPIESSDC_REQUIREMENT, | 1280 requirementsmod.COPIESSDC_REQUIREMENT, |
1282 requirementsmod.REVLOGV2_REQUIREMENT, | |
1283 requirementsmod.CHANGELOGV2_REQUIREMENT, | |
1284 requirementsmod.SPARSEREVLOG_REQUIREMENT, | |
1285 requirementsmod.NODEMAP_REQUIREMENT, | |
1286 requirementsmod.BOOKMARKS_IN_STORE_REQUIREMENT, | |
1287 requirementsmod.SHARESAFE_REQUIREMENT, | |
1288 requirementsmod.DIRSTATE_V2_REQUIREMENT, | 1281 requirementsmod.DIRSTATE_V2_REQUIREMENT, |
1289 } | |
1290 _basesupported = supportedformats | { | |
1291 requirementsmod.DOTENCODE_REQUIREMENT, | 1282 requirementsmod.DOTENCODE_REQUIREMENT, |
1292 requirementsmod.FNCACHE_REQUIREMENT, | 1283 requirementsmod.FNCACHE_REQUIREMENT, |
1284 requirementsmod.GENERALDELTA_REQUIREMENT, | |
1293 requirementsmod.INTERNAL_PHASE_REQUIREMENT, | 1285 requirementsmod.INTERNAL_PHASE_REQUIREMENT, |
1286 requirementsmod.NODEMAP_REQUIREMENT, | |
1294 requirementsmod.RELATIVE_SHARED_REQUIREMENT, | 1287 requirementsmod.RELATIVE_SHARED_REQUIREMENT, |
1288 requirementsmod.REVLOGV1_REQUIREMENT, | |
1289 requirementsmod.REVLOGV2_REQUIREMENT, | |
1295 requirementsmod.SHARED_REQUIREMENT, | 1290 requirementsmod.SHARED_REQUIREMENT, |
1291 requirementsmod.SHARESAFE_REQUIREMENT, | |
1296 requirementsmod.SPARSE_REQUIREMENT, | 1292 requirementsmod.SPARSE_REQUIREMENT, |
1293 requirementsmod.SPARSEREVLOG_REQUIREMENT, | |
1297 requirementsmod.STORE_REQUIREMENT, | 1294 requirementsmod.STORE_REQUIREMENT, |
1295 requirementsmod.TREEMANIFEST_REQUIREMENT, | |
1298 } | 1296 } |
1299 | 1297 |
1300 # list of prefix for file which can be written without 'wlock' | 1298 # list of prefix for file which can be written without 'wlock' |
1301 # Extensions should extend this list when needed | 1299 # Extensions should extend this list when needed |
1302 _wlockfreeprefix = { | 1300 _wlockfreeprefix = { |