~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisiontree.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-11 19:36:38 UTC
  • mfrom: (3703 +trunk)
  • mto: (3705.1.1 trunk2)
  • mto: This revision was merged to the branch mainline in revision 3708.
  • Revision ID: v.ladeuil+lp@free.fr-20080911193638-wtjyc1kcmacc6t1f
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
            self.t.branch.repository.revision_tree(revid_2).get_parent_ids())
51
51
        # TODO commit a merge and check it is reported correctly.
52
52
 
53
 
        # the parents for a revision_tree(None) are []:
 
53
        # the parents for a revision_tree(NULL_REVISION) are []:
54
54
        self.assertEqual([],
55
 
            self.t.branch.repository.revision_tree(None).get_parent_ids())
 
55
            self.t.branch.repository.revision_tree(
 
56
                revision.NULL_REVISION).get_parent_ids())
56
57
 
57
58
    def test_empty_no_root(self):
58
59
        null_tree = self.t.branch.repository.revision_tree(