~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

  • Committer: Vincent Ladeuil
  • Date: 2007-07-15 11:24:18 UTC
  • mfrom: (2617 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070715112418-9nn4n6esxv60ny4b
merge bzr.dev@1617

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    errors,
29
29
    lockdir,
30
30
    repository,
 
31
    revision as _mod_revision,
31
32
    transactions,
32
33
    transport,
33
34
    ui,
588
589
        repo.fetch(tree.branch.repository)
589
590
        self.assertTrue(repo.has_revision('1'))
590
591
        try:
591
 
            self.assertIs(dir.open_branch().last_revision(), None)
 
592
            self.assertTrue(
 
593
                _mod_revision.is_null(_mod_revision.ensure_null(
 
594
                dir.open_branch().last_revision())))
592
595
        except errors.NotBranchError:
593
596
            pass
594
597
        target = self.sproutOrSkip(dir, self.get_url('target'))