~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/repository_implementations/test_repository.py

(robertc) Deprecate WorkingTree.pending_merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
        tree = self.make_branch_and_tree('.')
318
318
        tree.commit('message', rev_id='rev_id')
319
319
        self.assertEqual('rev_id', tree.basis_tree().inventory.root.revision)
320
 
        rev_tree = tree.branch.repository.revision_tree(tree.last_revision())
 
320
        rev_tree = tree.branch.repository.revision_tree(tree.get_parent_ids()[0])
321
321
        self.assertEqual('rev_id', rev_tree.inventory.root.revision)
322
322
 
323
323