diff -r 2ef575c62f10 -r 6ee9bd69ff7f mercurial/configitems.py --- 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(