~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.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:
381
381
        tree_a = self.make_branch_and_tree('a')
382
382
        branch_a = tree_a.branch
383
383
        checkout_b = branch_a.create_checkout('b')
384
 
        self.assertEqual(None, checkout_b.last_revision())
 
384
        self.assertEqual('null:', checkout_b.last_revision())
385
385
        checkout_b.commit('rev1', rev_id='rev1')
386
386
        self.assertEqual('rev1', branch_a.last_revision())
387
387
        self.assertNotEqual(checkout_b.branch.base, branch_a.base)