Show More
@@ -219,13 +219,13 b' class partialdiscovery(object):' | |||
|
219 | 219 | for rev in sorted(revs): |
|
220 | 220 | # Always ensure revision has an entry so we don't need to worry |
|
221 | 221 | # about missing keys. |
|
222 |
children |
|
|
223 | ||
|
222 | children[rev] = [] | |
|
224 | 223 | for prev in parentrevs(rev): |
|
225 | 224 | if prev == nullrev: |
|
226 | 225 | continue |
|
227 | ||
|
228 | children.setdefault(prev, []).append(rev) | |
|
226 | c = children.get(prev) | |
|
227 | if c is not None: | |
|
228 | c.append(rev) | |
|
229 | 229 | |
|
230 | 230 | _updatesample(revs, revsroots, sample, children.__getitem__) |
|
231 | 231 | assert sample |
General Comments 0
You need to be logged in to leave comments.
Login now