/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/inventory.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-23 00:12:35 UTC
  • mto: (2772.2.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2774.
  • Revision ID: ian.clatworthy@internode.on.net-20070823001235-bjza31s3c5ffdxlj
Skip path lookup for tree.get_file() when we already know the path

Show diffs side-by-side

added added

removed removed

Lines of Context:
717
717
                    return False
718
718
        self.revision = revision
719
719
        def get_content_byte_lines():
720
 
            return work_tree.get_file(self.file_id).readlines()
 
720
            return work_tree.get_file(self.file_id, path).readlines()
721
721
        self.text_sha1, self.text_size = commit_builder.modified_file_text(
722
722
            self.file_id, previous_entries, get_content_byte_lines,
723
723
            self.text_sha1, self.text_size)