comparison mercurial/configitems.py @ 49886:becd16690cbe

debug: add a config to abort update early This is useful to benchmark the parts of [hg update] that come before the parallel worker.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 06 Jan 2023 16:01:31 +0000
parents 4bd12c0f531e
children 1c5241ba44f0
comparison
equal deleted inserted replaced
49882:8c7895db8955 49886:becd16690cbe
744 coreconfigitem( 744 coreconfigitem(
745 b'devel', 745 b'devel',
746 b'discovery.exchange-heads', 746 b'discovery.exchange-heads',
747 default=True, 747 default=True,
748 ) 748 )
749 # If devel.debug.abort-update is True, then any merge with the working copy,
750 # e.g. [hg update], will be aborted after figuring out what needs to be done,
751 # but before spawning the parallel worker
752 coreconfigitem(
753 b'devel',
754 b'debug.abort-update',
755 default=False,
756 )
749 # If discovery.grow-sample is False, the sample size used in set discovery will 757 # If discovery.grow-sample is False, the sample size used in set discovery will
750 # not be increased through the process 758 # not be increased through the process
751 coreconfigitem( 759 coreconfigitem(
752 b'devel', 760 b'devel',
753 b'discovery.grow-sample', 761 b'discovery.grow-sample',