comparison mercurial/configitems.py @ 48295:bf11ff22a9af

dirstate-v2: freeze the on-disk format It seems the format as reached a good balance. With a core of new capabilities that motivated it initially and enough new feature and room for future improvement to be a clear progress we can set a milestone for. Having the format frozen will help the feature to get real life testing, outside of the test suite. The feature itself stay experimental but the config gains a new name to avoid people enable non-frozen version by default. If too many bugs are reported during the RC we might move the format back to experimental and drop its support in future version (in favor of a new one) Differential Revision: https://phab.mercurial-scm.org/D11709
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Oct 2021 00:57:02 +0200
parents 4d2ab365699e
children c6d44457f7e3 f7086f6173f8
comparison
equal deleted inserted replaced
48294:e2836d08c88c 48295:bf11ff22a9af
1304 ) 1304 )
1305 coreconfigitem( 1305 coreconfigitem(
1306 # Enable this dirstate format *when creating a new repository*. 1306 # Enable this dirstate format *when creating a new repository*.
1307 # Which format to use for existing repos is controlled by .hg/requires 1307 # Which format to use for existing repos is controlled by .hg/requires
1308 b'format', 1308 b'format',
1309 b'exp-dirstate-v2', 1309 b'exp-rc-dirstate-v2',
1310 default=False, 1310 default=False,
1311 experimental=True, 1311 experimental=True,
1312 ) 1312 )
1313 coreconfigitem( 1313 coreconfigitem(
1314 b'format', 1314 b'format',
1878 b'rewrite', 1878 b'rewrite',
1879 b'empty-successor', 1879 b'empty-successor',
1880 default=b'skip', 1880 default=b'skip',
1881 experimental=True, 1881 experimental=True,
1882 ) 1882 )
1883 # experimental as long as format.exp-dirstate-v2 is. 1883 # experimental as long as format.exp-rc-dirstate-v2 is.
1884 coreconfigitem( 1884 coreconfigitem(
1885 b'storage', 1885 b'storage',
1886 b'dirstate-v2.slow-path', 1886 b'dirstate-v2.slow-path',
1887 default=b"abort", 1887 default=b"abort",
1888 experimental=True, 1888 experimental=True,