mercurial/debugcommands.py
changeset 46806 2b1b8f3e6510
parent 46804 13d973690ecd
child 46819 d4ba4d51f85f
--- a/mercurial/debugcommands.py	Wed Mar 17 19:10:28 2021 +0100
+++ b/mercurial/debugcommands.py	Wed Mar 17 19:06:00 2021 +0100
@@ -1024,6 +1024,12 @@
       If False, the sample size used in set discovery will not be increased
       through the process
 
+    * devel.discovery.grow-sample.dynamic=True
+
+      When discovery.grow-sample.dynamic is True, the default, the sample size is
+      adapted to the shape of the undecided set (it is set to the max of:
+      <target-size>, len(roots(undecided)), len(heads(undecided)
+
     * devel.discovery.grow-sample.rate=1.05
 
       the rate at which the sample grow