comparison mercurial/configitems.py @ 46316:6ee9bd69ff7f

discovery: add a devel.discovery.exchange-heads Currently all discovery start with testing local and remote heads. For analysis purpose we make it possible to disable that initial "handshake" and start discovery with the whole repository as undecided. Differential Revision: https://phab.mercurial-scm.org/D9801
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 16 Jan 2021 01:02:03 +0100
parents 4cde46f62ebf
children cc3452d2dfa4
comparison
equal deleted inserted replaced
46315:2ef575c62f10 46316:6ee9bd69ff7f
700 coreconfigitem( 700 coreconfigitem(
701 b'devel', 701 b'devel',
702 b'debug.peer-request', 702 b'debug.peer-request',
703 default=False, 703 default=False,
704 ) 704 )
705 # If discovery.exchange-heads is False, the discovery will not start with
706 # remote head fetching and local head querying.
707 coreconfigitem(
708 b'devel',
709 b'discovery.exchange-heads',
710 default=True,
711 )
705 # If discovery.grow-sample is False, the sample size used in set discovery will 712 # If discovery.grow-sample is False, the sample size used in set discovery will
706 # not be increased through the process 713 # not be increased through the process
707 coreconfigitem( 714 coreconfigitem(
708 b'devel', 715 b'devel',
709 b'discovery.grow-sample', 716 b'discovery.grow-sample',