Show More
@@ -150,7 +150,7 b' def _takefullsample(repo, headrevs, revs' | |||
|
150 | 150 | _updatesample(revs, revsroots, sample, children.__getitem__) |
|
151 | 151 | assert sample |
|
152 | 152 | sample = _limitsample(sample, size) |
|
153 |
if len(sample) < |
|
|
153 | if len(sample) < size: | |
|
154 | 154 | more = size - len(sample) |
|
155 | 155 | sample.update(random.sample(list(revs - sample), more)) |
|
156 | 156 | return sample |
General Comments 0
You need to be logged in to leave comments.
Login now