Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 46359:0600e8467101
discovery: add config options to control sample size
This get useful for running analysis of the current algorithm.
Differential Revision: https://phab.mercurial-scm.org/D9813
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 17 Jan 2021 23:21:33 +0100 |
parents | 4b0192f592cf |
children | 7525e77b5eac |
comparison
equal
deleted
inserted
replaced
46358:009130064813 | 46359:0600e8467101 |
---|---|
727 coreconfigitem( | 727 coreconfigitem( |
728 b'devel', | 728 b'devel', |
729 b'discovery.randomize', | 729 b'discovery.randomize', |
730 default=True, | 730 default=True, |
731 ) | 731 ) |
732 # Control the initial size of the discovery sample | |
733 coreconfigitem( | |
734 b'devel', | |
735 b'discovery.sample-size', | |
736 default=200, | |
737 ) | |
738 # Control the initial size of the discovery for initial change | |
739 coreconfigitem( | |
740 b'devel', | |
741 b'discovery.sample-size.initial', | |
742 default=100, | |
743 ) | |
732 _registerdiffopts(section=b'diff') | 744 _registerdiffopts(section=b'diff') |
733 coreconfigitem( | 745 coreconfigitem( |
734 b'email', | 746 b'email', |
735 b'bcc', | 747 b'bcc', |
736 default=None, | 748 default=None, |