Show More
@@ -281,12 +281,13 b' def _lazyancestorsiter(parentrevs, initr' | |||
|
281 | 281 | |
|
282 | 282 | while visit: |
|
283 | 283 | current = -nextitem(visit) |
|
284 |
if current |
|
|
285 |
|
|
|
286 | for parent in parentrevs(current): | |
|
287 | if parent not in seen: | |
|
288 | schedule(visit, -parent) | |
|
289 |
|
|
|
284 | if current < stoprev: | |
|
285 | break | |
|
286 | yield current | |
|
287 | for parent in parentrevs(current): | |
|
288 | if parent not in seen: | |
|
289 | schedule(visit, -parent) | |
|
290 | see(parent) | |
|
290 | 291 | |
|
291 | 292 | class lazyancestors(object): |
|
292 | 293 | def __init__(self, pfunc, revs, stoprev=0, inclusive=False): |
General Comments 0
You need to be logged in to leave comments.
Login now