Mercurial > hg
comparison mercurial/configitems.py @ 47263:6c84fc9c9a90
changelogv2: introduce a "changelogv2" feature
Right now, this means using revlogv2, but only for the changelog. We will have
the format more unique in future changesets.
Differential Revision: https://phab.mercurial-scm.org/D10660
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 29 Mar 2021 22:40:54 +0200 |
parents | eac3591abbf4 |
children | 25ce16bf724b |
comparison
equal
deleted
inserted
replaced
47262:468e451fc0de | 47263:6c84fc9c9a90 |
---|---|
1339 b'format', | 1339 b'format', |
1340 b'revlog-compression', | 1340 b'revlog-compression', |
1341 default=lambda: [b'zstd', b'zlib'], | 1341 default=lambda: [b'zstd', b'zlib'], |
1342 alias=[(b'experimental', b'format.compression')], | 1342 alias=[(b'experimental', b'format.compression')], |
1343 ) | 1343 ) |
1344 # Experimental TODOs: | |
1345 # | |
1346 # * Same as for evlogv2 (but for the reduction of the number of files) | |
1347 # * drop the storage of the base | |
1348 # * Improvement to investigate | |
1349 # - storing .hgtags fnode | |
1350 # - storing `rank` of changesets | |
1351 # - storing branch related identifier | |
1352 | |
1353 coreconfigitem( | |
1354 b'format', | |
1355 b'exp-use-changelog-v2', | |
1356 default=None, | |
1357 experimental=True, | |
1358 ) | |
1344 coreconfigitem( | 1359 coreconfigitem( |
1345 b'format', | 1360 b'format', |
1346 b'usefncache', | 1361 b'usefncache', |
1347 default=True, | 1362 default=True, |
1348 ) | 1363 ) |