~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_stacking.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-24 17:24:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6294.
  • Revision ID: jelmer@samba.org-20111124172421-pg7d9k8qopzepav0
RemoveĀ brokenĀ Tree.get_file_by_path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
        rtree = target.repository.revision_tree('rev2')
485
485
        rtree.lock_read()
486
486
        self.addCleanup(rtree.unlock)
487
 
        self.assertEqual('new content', rtree.get_file_by_path('a').read())
 
487
        self.assertEqual(
 
488
            'new content',
 
489
            rtree.get_file_text(rtree.path2id('a'), 'a'))
488
490
        self.check_lines_added_or_present(target, 'rev2')
489
491
 
490
492
    def test_transform_fallback_location_hook(self):