~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-31 05:54:21 UTC
  • mfrom: (2743.3.6 bzr.quicker-initial-commit)
  • mto: This revision was merged to the branch mainline in revision 2774.
  • Revision ID: ian.clatworthy@internode.on.net-20070831055421-iwcem9phv1needkk
(Ian Clatworthy) Quicker initial commit - skip SHAing twice & skip path lookup as we know it

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        file_id = osutils.safe_file_id(file_id)
82
82
        return ''.join(self.get_file_lines(file_id))
83
83
 
84
 
    def get_file(self, file_id):
 
84
    def get_file(self, file_id, path=None):
85
85
        file_id = osutils.safe_file_id(file_id)
86
86
        return StringIO(self.get_file_text(file_id))
87
87