~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Martin
  • Date: 2009-09-20 22:12:36 UTC
  • mto: This revision was merged to the branch mainline in revision 5257.
  • Revision ID: gzlist@googlemail.com-20090920221236-84nyjpop0ttgfwzj
Ensure all files opened by bazaar proper are explicitly closed

Show diffs side-by-side

added added

removed removed

Lines of Context:
502
502
            parent_keys = [(file_id, self._file_revision(t, file_id)) for t in
503
503
                self._iter_parent_trees()]
504
504
            vf.add_lines((file_id, last_revision), parent_keys,
505
 
                         self.get_file(file_id).readlines())
 
505
                         self.get_file_lines(file_id))
506
506
            repo = self.branch.repository
507
507
            base_vf = repo.texts
508
508
        else: