Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
46299:397e39ad0174 | 46300:f17b6e40a775 |
---|---|
705 coreconfigitem( | 705 coreconfigitem( |
706 b'devel', | 706 b'devel', |
707 b'discovery.grow-sample', | 707 b'discovery.grow-sample', |
708 default=True, | 708 default=True, |
709 ) | 709 ) |
710 # discovery.grow-sample.rate control the rate at which the sample grow | |
711 coreconfigitem( | |
712 b'devel', | |
713 b'discovery.grow-sample.rate', | |
714 default=1.05, | |
715 ) | |
710 # If discovery.randomize is False, random sampling during discovery are | 716 # If discovery.randomize is False, random sampling during discovery are |
711 # deterministic. It is meant for integration tests. | 717 # deterministic. It is meant for integration tests. |
712 coreconfigitem( | 718 coreconfigitem( |
713 b'devel', | 719 b'devel', |
714 b'discovery.randomize', | 720 b'discovery.randomize', |