1173
1173
def get_view_revisions(mainline_revs, rev_nos, branch, direction,
1175
1175
"""Produce an iterator of revisions to show
1176
1176
:return: an iterator of (revision_id, revno, merge_depth)
1177
1177
(if there is no revno for a revision, None is supplied)
1183
1180
revision_ids = mainline_revs[1:]
1184
1181
if direction == 'reverse':