changeset 41162 | cc1f545c4075 |
parent 41113 | 9815d3337f9b |
child 41167 | 870a89c6909d |
--- a/mercurial/setdiscovery.py Mon Jan 07 18:43:10 2019 -0500 +++ b/mercurial/setdiscovery.py Thu Jan 10 04:35:48 2019 +0100 @@ -150,7 +150,7 @@ _updatesample(revs, revsroots, sample, children.__getitem__) assert sample sample = _limitsample(sample, size) - if len(sample) <= size: + if len(sample) < size: more = size - len(sample) sample.update(random.sample(list(revs - sample), more)) return sample