~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:10:05 UTC
  • mfrom: (1744 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1748.
  • Revision ID: aaron.bentley@utoronto.ca-20060606171005-e2b50e39cd5056be
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":