1165
1165
rev_3a = rev_from_rev_id('3a', b)
1166
1166
rev_4b = rev_from_rev_id('4b', b)
1167
self.assertEqual([('3c', '3', 0), ('3b', '2.2.1', 1), ('3a', '2.1.1', 2)],
1167
self.assertEqual([('3c', '3', 0), ('3b', '2.2.1', 1),
1168
1169
view_revs(rev_3a, rev_4b, 'f-id', 'reverse'))
1169
1170
# Note: 3c still appears before 3a here because of depth-based sorting
1170
self.assertEqual([('3c', '3', 0), ('3b', '2.2.1', 1), ('3a', '2.1.1', 2)],
1171
self.assertEqual([('3c', '3', 0), ('3b', '2.2.1', 1),
1171
1173
view_revs(rev_3a, rev_4b, 'f-id', 'forward'))