##// END OF EJS Templates
requirements: remove the `localrepo.supportedformat` attribute...
marmoute -
r49450:348d2c6b default
parent child Browse files
Show More
@@ -1495,13 +1495,6 b' class ilocalrepositorymain(interfaceutil'
1495 """null revision for the hash function used by the repository."""
1495 """null revision for the hash function used by the repository."""
1496 )
1496 )
1497
1497
1498 supportedformats = interfaceutil.Attribute(
1499 """Set of requirements that apply to stream clone.
1500
1501 This is actually a class attribute and is shared among all instances.
1502 """
1503 )
1504
1505 supported = interfaceutil.Attribute(
1498 supported = interfaceutil.Attribute(
1506 """Set of requirements that this repo is capable of opening."""
1499 """Set of requirements that this repo is capable of opening."""
1507 )
1500 )
@@ -1274,27 +1274,25 b' class localrepository(object):'
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,
1280 requirementsmod.TREEMANIFEST_REQUIREMENT,
1281 requirementsmod.COPIESSDC_REQUIREMENT,
1282 requirementsmod.REVLOGV2_REQUIREMENT,
1283 requirementsmod.CHANGELOGV2_REQUIREMENT,
1279 requirementsmod.CHANGELOGV2_REQUIREMENT,
1284 requirementsmod.SPARSEREVLOG_REQUIREMENT,
1280 requirementsmod.COPIESSDC_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'
General Comments 0
You need to be logged in to leave comments. Login now