~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.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:
167
167
            return ie.text_sha1
168
168
        return None
169
169
 
 
170
    def get_file_mtime(self, file_id, path=None):
 
171
        ie = self._inventory[file_id]
 
172
        revision = self._branch.get_revision(ie.revision)
 
173
        return revision.timestamp
 
174
 
170
175
    def is_executable(self, file_id, path=None):
171
176
        ie = self._inventory[file_id]
172
177
        if ie.kind != "file":