comparison mercurial/configitems.py @ 44634:01b0805534bb

nodemap: make sure on disk change get rolled back with the transaction In case of errors, we need to rollback the change made to the persistent nodemap. Differential Revision: https://phab.mercurial-scm.org/D8191
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 28 Feb 2020 03:05:52 +0100
parents bd7b2c8d06cc
children c70bcaf7927b
comparison
equal deleted inserted replaced
44633:dd5b47fb0860 44634:01b0805534bb
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 # * code/tests around aborted transaction
411 # * regenerate a new nodemap when the unused/total ration is to high 410 # * regenerate a new nodemap when the unused/total ration is to high
412 # * decide for a "status" of the persistent nodemap and associated location 411 # * decide for a "status" of the persistent nodemap and associated location
413 # - part of the store next the revlog itself (new requirements) 412 # - part of the store next the revlog itself (new requirements)
414 # - part of the cache directory 413 # - part of the cache directory
415 # - part of an `index` directory 414 # - part of an `index` directory