[Updated] D10231: debugdiscovery: document relevant config option
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Mar 22 18:29:15 UTC 2021
Closed by commit rHG13d973690ecd: debugdiscovery: document relevant config option (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10231?vs=26494&id=26537
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10231/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10231
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1011,6 +1011,35 @@
be "replaced" by a subset of the local repository using the
`--local-as-revs` flag. This is useful to efficiently debug pathological
discovery situation.
+
+ The following developer oriented config are relevant for people playing with this command:
+
+ * devel.discovery.exchange-heads=True
+
+ If False, the discovery will not start with
+ remote head fetching and local head querying.
+
+ * devel.discovery.grow-sample=True
+
+ If False, the sample size used in set discovery will not be increased
+ through the process
+
+ * devel.discovery.grow-sample.rate=1.05
+
+ the rate at which the sample grow
+
+ * devel.discovery.randomize=True
+
+ If andom sampling during discovery are deterministic. It is meant for
+ integration tests.
+
+ * devel.discovery.sample-size=200
+
+ Control the initial size of the discovery sample
+
+ * devel.discovery.sample-size.initial=100
+
+ Control the initial size of the discovery for initial change
"""
opts = pycompat.byteskwargs(opts)
unfi = repo.unfiltered()
To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210322/e1f38889/attachment-0002.html>
More information about the Mercurial-patches
mailing list