~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.py

  • Committer: Ian Clatworthy
  • Date: 2009-01-24 12:38:17 UTC
  • mto: (3976.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3978.
  • Revision ID: ian.clatworthy@canonical.com-20090124123817-q11ovizmi67y5gva
api compatibility: calculate_view_revisions rebases merge depth again

Show diffs side-by-side

added added

removed removed

Lines of Context:
987
987
        rev_4b = rev_from_rev_id('4b', wt.branch)
988
988
        self.assertEqual([('3c', '3', 0), ('3a', '2.1.1', 1)],
989
989
                          view_revs(rev_3a, rev_4b, 'f-id', 'reverse'))
 
990
        # Note that the depth is 0 for 3a because depths are normalized, but
990
991
        # there is still a bug somewhere... most probably in
991
992
        # _filter_revision_range and/or get_view_revisions still around a bad
992
993
        # use of reverse_by_depth
993
 
        self.assertEqual([('3a', '2.1.1', 1)],
 
994
        self.assertEqual([('3a', '2.1.1', 0)],
994
995
                          view_revs(rev_3a, rev_4b, 'f-id', 'forward'))
995
996
 
996
997