~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: 2006-09-22 00:24:07 UTC
  • mfrom: (2027.1.1 revert-subpath-56549)
  • Revision ID: pqm@pqm.ubuntu.com-20060922002407-21dde3dd8419b20b
(jam, abentley) Fix bug #56549 by making TreeTransform._set_mode stat the right file

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
        except KeyError:
293
293
            return
294
294
        try:
295
 
            mode = os.stat(old_path).st_mode
 
295
            mode = os.stat(self._tree.abspath(old_path)).st_mode
296
296
        except OSError, e:
297
297
            if e.errno == errno.ENOENT:
298
298
                return