equal
deleted
inserted
replaced
294 next(iter(self)) |
294 next(iter(self)) |
295 return True |
295 return True |
296 except StopIteration: |
296 except StopIteration: |
297 return False |
297 return False |
298 |
298 |
|
299 __bool__ = __nonzero__ |
|
300 |
299 def __iter__(self): |
301 def __iter__(self): |
300 """Generate the ancestors of _initrevs in reverse topological order. |
302 """Generate the ancestors of _initrevs in reverse topological order. |
301 |
303 |
302 If inclusive is False, yield a sequence of revision numbers starting |
304 If inclusive is False, yield a sequence of revision numbers starting |
303 with the parents of each revision in revs, i.e., each revision is *not* |
305 with the parents of each revision in revs, i.e., each revision is *not* |