~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

MergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
            os.unlink(full_path)
287
287
        except OSError, e:
288
288
        # We may be renaming a dangling inventory id
289
 
            if e.errno != errno.EISDIR and e.errno != errno.EACCES:
 
289
            if e.errno not in (errno.EISDIR, errno.EACCES, errno.EPERM):
290
290
                raise
291
291
            os.rmdir(full_path)
292
292