/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_parents.py

  • Committer: Aaron Bentley
  • Date: 2007-07-11 16:42:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070711164237-n1x38fz7fttybkqp
Push NULL_REVISION deeper

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        """
38
38
        self.assertEqual(expected, tree.get_parent_ids())
39
39
        if expected == []:
40
 
            self.assertTrue(_mod_revision.is_null(tree.last_revision()))
 
40
            self.assertTrue(_mod_revision.is_null(
 
41
                            _mod_revision.ensure_null(tree.last_revision())))
41
42
        else:
42
43
            self.assertEqual(expected[0], tree.last_revision())
43
44
        self.assertEqual(expected[1:],