Show More
@@ -1011,6 +1011,35 b' def debugdiscovery(ui, repo, remoteurl=b' | |||
|
1011 | 1011 | be "replaced" by a subset of the local repository using the |
|
1012 | 1012 | `--local-as-revs` flag. This is useful to efficiently debug pathological |
|
1013 | 1013 | discovery situation. |
|
1014 | ||
|
1015 | The following developer oriented config are relevant for people playing with this command: | |
|
1016 | ||
|
1017 | * devel.discovery.exchange-heads=True | |
|
1018 | ||
|
1019 | If False, the discovery will not start with | |
|
1020 | remote head fetching and local head querying. | |
|
1021 | ||
|
1022 | * devel.discovery.grow-sample=True | |
|
1023 | ||
|
1024 | If False, the sample size used in set discovery will not be increased | |
|
1025 | through the process | |
|
1026 | ||
|
1027 | * devel.discovery.grow-sample.rate=1.05 | |
|
1028 | ||
|
1029 | the rate at which the sample grow | |
|
1030 | ||
|
1031 | * devel.discovery.randomize=True | |
|
1032 | ||
|
1033 | If andom sampling during discovery are deterministic. It is meant for | |
|
1034 | integration tests. | |
|
1035 | ||
|
1036 | * devel.discovery.sample-size=200 | |
|
1037 | ||
|
1038 | Control the initial size of the discovery sample | |
|
1039 | ||
|
1040 | * devel.discovery.sample-size.initial=100 | |
|
1041 | ||
|
1042 | Control the initial size of the discovery for initial change | |
|
1014 | 1043 | """ |
|
1015 | 1044 | opts = pycompat.byteskwargs(opts) |
|
1016 | 1045 | unfi = repo.unfiltered() |
General Comments 0
You need to be logged in to leave comments.
Login now