427
427
def iter_ancestry(self, revision_ids):
428
428
"""Iterate the ancestry of this revision.
433
430
:param revision_ids: Nodes to start the search
434
431
:return: Yield tuples mapping a revision_id to its parents for the
437
434
with no parents will have NULL_REVISION as their only parent. (As
438
435
defined by get_parent_map.)
444
438
pending = set(revision_ids)