Mercurial > hg-stable
changeset 46298:b1ae5383602d
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 16 Jan 2021 00:21:54 +0100 |
parents | 82edad33fd81 |
children | 397e39ad0174 |
files | mercurial/configitems.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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',