mercurial/debugcommands.py
changeset 46803 13d973690ecd
parent 46794 e2f7b2695ba1
child 46805 2b1b8f3e6510
equal deleted inserted replaced
46801:32399d0813e0 46803:13d973690ecd
  1009     The local peer can be "replaced" by a subset of the local repository by
  1009     The local peer can be "replaced" by a subset of the local repository by
  1010     using the `--local-as-revs` flag. Int he same way, usual `remote` peer can
  1010     using the `--local-as-revs` flag. Int he same way, usual `remote` peer can
  1011     be "replaced" by a subset of the local repository using the
  1011     be "replaced" by a subset of the local repository using the
  1012     `--local-as-revs` flag. This is useful to efficiently debug pathological
  1012     `--local-as-revs` flag. This is useful to efficiently debug pathological
  1013     discovery situation.
  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     opts = pycompat.byteskwargs(opts)
  1044     opts = pycompat.byteskwargs(opts)
  1016     unfi = repo.unfiltered()
  1045     unfi = repo.unfiltered()
  1017 
  1046 
  1018     # setup potential extra filtering
  1047     # setup potential extra filtering