Patchwork D2645: setdiscovery: remove unnecessary sample size limiting

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 7:29 p.m.
Message ID <f21019d20c40ad413015f6603e37a4cf@localhost.localdomain>
Download mbox | patch
Permalink /patch/28972/
State Not Applicable
Headers show

Comments

phabricator - March 4, 2018, 7:29 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0968e400406c: setdiscovery: remove unnecessary sample size limiting (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2645?vs=6557&id=6595

REVISION DETAIL
  https://phab.mercurial-scm.org/D2645

AFFECTED FILES
  mercurial/setdiscovery.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/setdiscovery.py b/mercurial/setdiscovery.py
--- a/mercurial/setdiscovery.py
+++ b/mercurial/setdiscovery.py
@@ -221,7 +221,6 @@ 
             sample = list(undecided)
         else:
             sample = samplefunc(dag, undecided, targetsize)
-            sample = _limitsample(sample, targetsize)
 
         roundtrips += 1
         ui.progress(_('searching'), roundtrips, unit=_('queries'))