~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_checkout.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-20 14:19:21 UTC
  • mfrom: (2598.5.19 nullrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20070820141921-kmbpaev7g9epuy08
NULL_REVISION is returned to indicate the null revision, not None

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
        self.assertEqual('1', tree.last_revision())
137
137
        branch.bzrdir.destroy_workingtree()
138
138
        self.run_bzr('checkout -r 0')
139
 
        self.assertIs(None, tree.last_revision())
 
139
        self.assertEqual('null:', tree.last_revision())