equal
deleted
inserted
replaced
368 continue |
368 continue |
369 if parent not in seen: |
369 if parent not in seen: |
370 visit.append(parent) |
370 visit.append(parent) |
371 seen.add(parent) |
371 seen.add(parent) |
372 yield parent |
372 yield parent |
373 |
|
374 def incancestors(self, revs, stoprev=0): |
|
375 """Identical to ancestors() except it also generates the |
|
376 revisions, 'revs'""" |
|
377 return self.ancestors(revs, stoprev, inclusive=True) |
|
378 |
373 |
379 def descendants(self, revs): |
374 def descendants(self, revs): |
380 """Generate the descendants of 'revs' in revision order. |
375 """Generate the descendants of 'revs' in revision order. |
381 |
376 |
382 Yield a sequence of revision numbers starting with a child of |
377 Yield a sequence of revision numbers starting with a child of |