/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-28 10:43:48 UTC
  • mfrom: (0.15.43 unshelve)
  • mto: (0.16.95 shelf-ui)
  • mto: This revision was merged to the branch mainline in revision 3820.
  • Revision ID: aaron@aaronbentley.com-20081028104348-buezeiob2p7xj6i1
merge unshelve into shelf-manager

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
 
    def get_file_text(self, file_id):
 
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
 
72
69
    def get_file(self, file_id, path=None):