changeset 23813 | 932f814bf016 |
parent 23812 | db58186dd8e3 |
child 23814 | 6a5877a73141 |
--- a/mercurial/setdiscovery.py Wed Jan 07 17:23:21 2015 -0800 +++ b/mercurial/setdiscovery.py Wed Jan 07 17:28:51 2015 -0800 @@ -105,10 +105,7 @@ return sample def _takefullsample(dag, nodes, size): - always = dag.headsetofconnecteds(nodes) - if size <= len(always): - return always - sample = always + sample = always = dag.headsetofconnecteds(nodes) # update from heads _updatesample(dag, nodes, sample, always) # update from roots