/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Aaron Bentley
  • Date: 2008-10-12 15:38:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3803.
  • Revision ID: aaron@aaronbentley.com-20081012153800-8ff72bdslnbknfdi
Test Tree.get_file_lines, provide a default implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        """Return the revision id associated with this tree."""
64
64
        return self._revision_id
65
65
 
66
 
    def get_file_lines(self, file_id):
67
 
        return osutils.split_lines(self.get_file_text(file_id))
68
 
 
69
66
    def get_file_text(self, file_id, path=None):
70
67
        return list(self.iter_files_bytes([(file_id, None)]))[0][1]
71
68