~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Ian Clatworthy
  • Date: 2009-09-02 16:03:51 UTC
  • mto: (4634.39.1 pdf-chm-docs)
  • mto: This revision was merged to the branch mainline in revision 4689.
  • Revision ID: ian.clatworthy@canonical.com-20090902160351-sxptcz3ttc1aencw
first cut at pdf docs via sphinx

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
 
104
104
    def get_file_mtime(self, file_id, path=None):
105
105
        ie = self._inventory[file_id]
106
 
        try:
107
 
            revision = self._repository.get_revision(ie.revision)
108
 
        except errors.NoSuchRevision:
109
 
            raise errors.FileTimestampUnavailable(self.id2path(file_id))
 
106
        revision = self._repository.get_revision(ie.revision)
110
107
        return revision.timestamp
111
108
 
112
109
    def is_executable(self, file_id, path=None):