~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-05 14:47:26 UTC
  • mfrom: (5752.2.11 2.4-windows-lfstat)
  • Revision ID: pqm@pqm.ubuntu.com-20110405144726-zi3lj2kwvjml4kx5
(jameinel) Add osutils.lstat/fstat so that even on Windows lstat(fname) ==
 fstat(open(fname).fileno()) (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
523
523
        return self.get_file_with_stat(file_id, path, filtered=filtered)[0]
524
524
 
525
525
    def get_file_with_stat(self, file_id, path=None, filtered=True,
526
 
        _fstat=os.fstat):
 
526
                           _fstat=osutils.fstat):
527
527
        """See Tree.get_file_with_stat."""
528
528
        if path is None:
529
529
            path = self.id2path(file_id)