400
400
mainline_revs, rev_nos, wt = self.make_tree_with_many_merges()
401
401
revisions = list(get_view_revisions(mainline_revs, rev_nos, wt.branch,
403
expected = [('1', 1, 0), ('2', 2, 0), ('3c', 3, 0), ('3b', None, 1),
404
('3a', None, 1), ('4b', 4, 0), ('4a', None, 1)]
403
expected = [('1', 1, 0), ('2', 2, 0), ('3c', 3, 0), ('3a', None, 1),
404
('3b', None, 1), ('4b', 4, 0), ('4a', None, 1)]
405
405
self.assertEqual(revisions, expected)
406
406
revisions = list(get_view_revisions(mainline_revs, rev_nos, wt.branch,
407
407
'forward', include_merges=False))