diff mercurial/configitems.py @ 46300:f17b6e40a775

discovery: add a discovery.grow-sample.rate This allow to control the effect of the growth rate on the discovery process while doing analysis. Differential Revision: https://phab.mercurial-scm.org/D9799
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 16 Jan 2021 00:48:11 +0100
parents 397e39ad0174
children a18e256c4d3b
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Jan 16 00:29:17 2021 +0100
+++ b/mercurial/configitems.py	Sat Jan 16 00:48:11 2021 +0100
@@ -707,6 +707,12 @@
     b'discovery.grow-sample',
     default=True,
 )
+# discovery.grow-sample.rate control the rate at which the sample grow
+coreconfigitem(
+    b'devel',
+    b'discovery.grow-sample.rate',
+    default=1.05,
+)
 # If discovery.randomize is False, random sampling during discovery are
 # deterministic. It is meant for integration tests.
 coreconfigitem(