comparison mercurial/configitems.py @ 44636:c70bcaf7927b

nodemap: automatically "vacuum" the persistent nodemap when too sparse We arbitrarily pick "10%" as the threshold. Differential Revision: https://phab.mercurial-scm.org/D8193
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 26 Mar 2020 11:55:06 +0100
parents 01b0805534bb
children 6493f0a567c2
comparison
equal deleted inserted replaced
44635:99ea74cbed74 44636:c70bcaf7927b
405 coreconfigitem( 405 coreconfigitem(
406 b'devel', b'legacy.exchange', default=list, 406 b'devel', b'legacy.exchange', default=list,
407 ) 407 )
408 # TODO before getting `persistent-nodemap` out of experimental 408 # TODO before getting `persistent-nodemap` out of experimental
409 # 409 #
410 # * regenerate a new nodemap when the unused/total ration is to high
411 # * decide for a "status" of the persistent nodemap and associated location 410 # * decide for a "status" of the persistent nodemap and associated location
412 # - part of the store next the revlog itself (new requirements) 411 # - part of the store next the revlog itself (new requirements)
413 # - part of the cache directory 412 # - part of the cache directory
414 # - part of an `index` directory 413 # - part of an `index` directory
415 # (https://www.mercurial-scm.org/wiki/ComputedIndexPlan) 414 # (https://www.mercurial-scm.org/wiki/ComputedIndexPlan)