comparison mercurial/configitems.py @ 44514:15a033cabc19

nodemap: add a todo list for getting out of experimental This is all the requirement I can think off. More might be added as they emerge. The first ones are mostly simple technical matters that will be taken care of soon. The question about the "status" of the persistent nodemap and the revlogs that will use it requires more discussion and thinking. Differential Revision: https://phab.mercurial-scm.org/D8181
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 27 Feb 2020 15:42:04 +0100
parents edc8504bc26b
children 6c906eaedd0d
comparison
equal deleted inserted replaced
44513:e7fff9c3cdac 44514:15a033cabc19
403 b'devel', b'warn-empty-changegroup', default=False, 403 b'devel', b'warn-empty-changegroup', default=False,
404 ) 404 )
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
409 #
410 # * code/tests around aborted transaction
411 # * code/tests around pending data for hooks
412 # * code/tests around detection of invalid cache
413 # (eg: after strip from an incompatible client)
414 # * regenerate a new nodemap when the unused/total ration is to high
415 # * decide for a "status" of the persistent nodemap and associated location
416 # - part of the store next the revlog itself (new requirements)
417 # - part of the cache directory
418 # - part of an `index` directory
419 # (https://www.mercurial-scm.org/wiki/ComputedIndexPlan)
420 # * do we want to use this for more than just changelog? if so we need:
421 # - simpler "pending" logic for them
422 # - double check the memory story (we dont want to keep all revlog in memory)
423 # - think about the naming scheme if we are in "cache"
424 # * increment the version format to "1" and freeze it.
408 coreconfigitem( 425 coreconfigitem(
409 b'devel', b'persistent-nodemap', default=False, 426 b'devel', b'persistent-nodemap', default=False,
410 ) 427 )
411 coreconfigitem( 428 coreconfigitem(
412 b'devel', b'servercafile', default=b'', 429 b'devel', b'servercafile', default=b'',