~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_commit.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:
271
271
        tree.lock_read()
272
272
        self.addCleanup(tree.unlock)
273
273
        # the deepest subtree has not changed, so no commit should take place.
274
 
        self.assertEqual(None, subsubtree.last_revision())
 
274
        self.assertEqual('null:', subsubtree.last_revision())
275
275
        # the intermediate tree should have committed a pointer to the current
276
276
        # subtree revision.
277
277
        sub_basis = subtree.basis_tree()