Mercurial > hg-stable
diff 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 | 25be21ec6c65 |
line wrap: on
line diff
--- a/mercurial/configitems.py Sun Jan 17 02:48:15 2021 +0100 +++ b/mercurial/configitems.py Sat Jan 16 01:02:03 2021 +0100 @@ -702,6 +702,13 @@ b'debug.peer-request', default=False, ) +# If discovery.exchange-heads is False, the discovery will not start with +# remote head fetching and local head querying. +coreconfigitem( + b'devel', + b'discovery.exchange-heads', + default=True, +) # If discovery.grow-sample is False, the sample size used in set discovery will # not be increased through the process coreconfigitem(