265
265
def get_view_revisions(mainline_revs, rev_nos, branch, direction,
267
267
"""Produce an iterator of revisions to show
268
268
:return: an iterator of (revision_id, revno, merge_depth)
269
269
(if there is no revno for a revision, None is supplied)
272
272
revision_ids = mainline_revs[1:]
273
273
if direction == 'reverse':