~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: John Arbash Meinel
  • Date: 2006-05-27 08:19:40 UTC
  • mto: (1711.2.26 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1734.
  • Revision ID: john@arbash-meinel.com-20060527081940-b9b872d50743430b
If you have the path, use it rather than looking it up again

Show diffs side-by-side

added added

removed removed

Lines of Context:
668
668
 
669
669
    def _read_tree_state(self, path, work_tree):
670
670
        """See InventoryEntry._read_tree_state."""
671
 
        self.text_sha1 = work_tree.get_file_sha1(self.file_id)
672
 
        self.executable = work_tree.is_executable(self.file_id)
 
671
        self.text_sha1 = work_tree.get_file_sha1(self.file_id, path=path)
 
672
        self.executable = work_tree.is_executable(self.file_id, path=path)
673
673
 
674
674
    def _forget_tree_state(self):
675
675
        self.text_sha1 = None