Mercurial > hg-stable
comparison mercurial/configitems.py @ 48360:f7086f6173f8 stable
dirstate-v2: rename the configuration to enable the format
The rename of the old experimental name was overlooked before the 6.0 release.
We rename everything to use the new name (and keep the released name as an alias
for compatibility).
Differential Revision: https://phab.mercurial-scm.org/D12129
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 01 Feb 2022 16:36:20 +0100 |
parents | bf11ff22a9af |
children | e845537f6adb |
comparison
equal
deleted
inserted
replaced
48359:6d2ddea0721a | 48360:f7086f6173f8 |
---|---|
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-rc-dirstate-v2', | 1309 b'use-dirstate-v2', |
1310 default=False, | 1310 default=False, |
1311 experimental=True, | 1311 experimental=True, |
1312 alias=[(b'format', b'exp-rc-dirstate-v2')], | |
1312 ) | 1313 ) |
1313 coreconfigitem( | 1314 coreconfigitem( |
1314 b'format', | 1315 b'format', |
1315 b'dotencode', | 1316 b'dotencode', |
1316 default=True, | 1317 default=True, |
1878 b'rewrite', | 1879 b'rewrite', |
1879 b'empty-successor', | 1880 b'empty-successor', |
1880 default=b'skip', | 1881 default=b'skip', |
1881 experimental=True, | 1882 experimental=True, |
1882 ) | 1883 ) |
1883 # experimental as long as format.exp-rc-dirstate-v2 is. | 1884 # experimental as long as format.use-dirstate-v2 is. |
1884 coreconfigitem( | 1885 coreconfigitem( |
1885 b'storage', | 1886 b'storage', |
1886 b'dirstate-v2.slow-path', | 1887 b'dirstate-v2.slow-path', |
1887 default=b"abort", | 1888 default=b"abort", |
1888 experimental=True, | 1889 experimental=True, |