~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branchbuilder.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-17 23:06:22 UTC
  • mto: This revision was merged to the branch mainline in revision 5803.
  • Revision ID: jelmer@samba.org-20110417230622-e52xsel9m0t0umcf
Add a RevisionTree.get_file_revision() method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
                             ], d_tree)
322
322
        # Because we copied the exact text into *this* tree, the 'c' file
323
323
        # should look like it was not modified in the merge
324
 
        self.assertEqual('C-id', d_tree.inventory['c-id'].revision)
 
324
        self.assertEqual('C-id', d_tree.get_file_revision('c-id'))
325
325
 
326
326
    def test_set_parent_to_null(self):
327
327
        builder = self.build_a_rev()