~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository/test_commit_builder.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-31 22:53:32 UTC
  • mto: This revision was merged to the branch mainline in revision 6122.
  • Revision ID: jelmer@samba.org-20110831225332-hxjax8218xaz4clw
Use revision_tree for testing, it's always present.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        # on deserialisation, but thats all the current contract guarantees
219
219
        # anyway.
220
220
        self.assertEqual(revision_id,
221
 
            tree.branch.repository.get_inventory(revision_id).revision_id)
 
221
            tree.branch.repository.revision_tree(revision_id).get_revision_id())
222
222
 
223
223
    def test_commit_without_root_errors(self):
224
224
        tree = self.make_branch_and_tree(".")