This is an archive of the discontinued Mercurial Phabricator instance.

rust-status: don't bubble up os errors, translate them to bad matches
ClosedPublic

Authored by Alphare on Nov 16 2020, 11:02 AM.

Details

Summary

In the rare cases when either the OS/filesystem throws an error on an otherwise
valid action, or because a path is not representable on the filesystem, or
because of concurrent actions in the filesystem, we want to warn the user about
said path instead of bubbling up the error, causing an exception to be raised
in the Python layer.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Nov 16 2020, 11:02 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.