/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-28 03:22:58 UTC
  • mfrom: (3146.8.20 no-inventory5)
  • Revision ID: pqm@pqm.ubuntu.com-20080228032258-4mdmqlx603ak6x2w
Implement checkout entirely via dirstate (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
    try:
150
150
        return _mapper(_lstat(f).st_mode)
151
151
    except OSError, e:
152
 
        if getattr(e, 'errno', None) == errno.ENOENT:
 
152
        if getattr(e, 'errno', None) in (errno.ENOENT, errno.ENOTDIR):
153
153
            raise errors.NoSuchFile(f)
154
154
        raise
155
155