~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-29 06:08:08 UTC
  • mfrom: (4635.1.3 fix_get_mtime)
  • Revision ID: pqm@pqm.ubuntu.com-20090929060808-n4ruep2nifvkqfci
PreviewTree.get_file_mtime works with unmodified files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1884
1884
    def get_file_mtime(self, file_id, path=None):
1885
1885
        """See Tree.get_file_mtime"""
1886
1886
        if not self._content_change(file_id):
1887
 
            return self._transform._tree.get_file_mtime(file_id, path)
 
1887
            return self._transform._tree.get_file_mtime(file_id)
1888
1888
        return self._stat_limbo_file(file_id).st_mtime
1889
1889
 
1890
1890
    def _file_size(self, entry, stat_value):