~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Aaron Bentley
  • Date: 2006-06-06 17:04:50 UTC
  • mto: This revision was merged to the branch mainline in revision 1745.
  • Revision ID: aaron.bentley@utoronto.ca-20060606170450-8a09b15bf3f195b0
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
535
535
            path = self._inventory.id2path(file_id)
536
536
        return self._hashcache.get_sha1(path)
537
537
 
 
538
    def get_file_mtime(self, file_id, path=None):
 
539
        if not path:
 
540
            path = self._inventory.id2path(file_id)
 
541
        return os.lstat(self.abspath(path)).st_mtime
 
542
 
538
543
    if not supports_executable():
539
544
        def is_executable(self, file_id, path=None):
540
545
            return self._inventory[file_id].executable