comparison mercurial/configitems.py @ 49195:411d591e0a27

auto-upgrade: introduce a way to auto-upgrade to/from dirstate-v2 This is similar to what we introduced for `share-safe`, but apply to the tracked-hint feature. Differential Revision: https://phab.mercurial-scm.org/D12614
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 22 Mar 2022 14:14:52 +0100
parents e4b31016e194
children 2bcf5e14bb7e
comparison
equal deleted inserted replaced
49194:e4b31016e194 49195:411d591e0a27
1276 experimental=True, 1276 experimental=True,
1277 alias=[(b'format', b'exp-rc-dirstate-v2')], 1277 alias=[(b'format', b'exp-rc-dirstate-v2')],
1278 ) 1278 )
1279 coreconfigitem( 1279 coreconfigitem(
1280 b'format', 1280 b'format',
1281 b'use-dirstate-v2.automatic-upgrade-of-mismatching-repositories',
1282 default=False,
1283 experimental=True,
1284 )
1285 coreconfigitem(
1286 b'format',
1281 b'use-dirstate-tracked-hint', 1287 b'use-dirstate-tracked-hint',
1282 default=False, 1288 default=False,
1283 experimental=True, 1289 experimental=True,
1284 ) 1290 )
1285 coreconfigitem( 1291 coreconfigitem(