Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 48500:c5d6c874766a
rank: actually persist revision's rank in changelog-v2
The changelog v2 format is now persisting whatever "rank" value is recorded.
However keep in mind that for we do not record any value.
Differential Revision: https://phab.mercurial-scm.org/D11937
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Dec 2021 15:28:41 +0100 |
parents | 0d0ce2529540 |
children | 04688c51f81f |
comparison
equal
deleted
inserted
replaced
48499:52034c42c09d | 48500:c5d6c874766a |
---|---|
1355 default=lambda: [b'zstd', b'zlib'], | 1355 default=lambda: [b'zstd', b'zlib'], |
1356 alias=[(b'experimental', b'format.compression')], | 1356 alias=[(b'experimental', b'format.compression')], |
1357 ) | 1357 ) |
1358 # Experimental TODOs: | 1358 # Experimental TODOs: |
1359 # | 1359 # |
1360 # * Same as for evlogv2 (but for the reduction of the number of files) | 1360 # * Same as for revlogv2 (but for the reduction of the number of files) |
1361 # * Actually computing the rank of changesets | |
1361 # * Improvement to investigate | 1362 # * Improvement to investigate |
1362 # - storing .hgtags fnode | 1363 # - storing .hgtags fnode |
1363 # - storing `rank` of changesets | |
1364 # - storing branch related identifier | 1364 # - storing branch related identifier |
1365 | 1365 |
1366 coreconfigitem( | 1366 coreconfigitem( |
1367 b'format', | 1367 b'format', |
1368 b'exp-use-changelog-v2', | 1368 b'exp-use-changelog-v2', |