discovery: document the `devel.discovery.randomize` option
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 16 Jan 2021 00:21:54 +0100
changeset 46298 b1ae5383602d
parent 46297 82edad33fd81
child 46299 397e39ad0174
discovery: document the `devel.discovery.randomize` option Gratuitous improvement as I was passing by this config section to add more. Differential Revision: https://phab.mercurial-scm.org/D9797
mercurial/configitems.py
--- a/mercurial/configitems.py	Tue Jan 12 09:11:15 2021 -0800
+++ b/mercurial/configitems.py	Sat Jan 16 00:21:54 2021 +0100
@@ -700,6 +700,8 @@
     b'debug.peer-request',
     default=False,
 )
+# If discovery.randomize is False, random sampling during discovery are
+# deterministic. It is meant for integration tests.
 coreconfigitem(
     b'devel',
     b'discovery.randomize',