comparison mercurial/configitems.py @ 46304:04da2ef8b106

persistent-nodemap: write down the sprint conclusion This write down the plan for turning feature that are only fast when the rust extension exists. Future changesets will implement it. Differential Revision: https://phab.mercurial-scm.org/D9754
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Jan 2021 00:37:36 +0100
parents a18e256c4d3b
children 7d096e5a5b90
comparison
equal deleted inserted replaced
46303:a18e256c4d3b 46304:04da2ef8b106
1264 coreconfigitem( 1264 coreconfigitem(
1265 b'format', 1265 b'format',
1266 b'usestore', 1266 b'usestore',
1267 default=True, 1267 default=True,
1268 ) 1268 )
1269 # Right now, the only efficient implement of the nodemap logic is in Rust, so 1269 # Right now, the only efficient implement of the nodemap logic is in Rust,
1270 # the persistent nodemap feature needs to stay experimental as long as the Rust 1270 #
1271 # extensions are an experimental feature. 1271 # The case was discussed that the 5.6 sprint and the following was decided for
1272 # feature that have an optional fast implementation (and are a performance
1273 # regression in the others)
1274 #
1275 # * If the fast implementation is not available, Mercurial will refuse to
1276 # access repository that requires it. Pointing to proper documentation
1277 #
1278 # * An option exist to lift that limitation and allow repository access.
1279 #
1280 # Such access will emit a warning unless configured not to.
1281 #
1282 # * When sufficiently mature, the feature can be enabled by default only for
1283 # installation that supports it.
1272 coreconfigitem( 1284 coreconfigitem(
1273 b'format', b'use-persistent-nodemap', default=False, experimental=True 1285 b'format', b'use-persistent-nodemap', default=False, experimental=True
1274 ) 1286 )
1275 coreconfigitem( 1287 coreconfigitem(
1276 b'format', 1288 b'format',