# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 2021-01-15 23:21:54
# Node ID b1ae5383602dade8287b499e2d65d19ca5219e2c
# Parent  82edad33fd818cafd0e5cb83cb159484d168aca6

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

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -700,6 +700,8 @@ coreconfigitem(
     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',