This is an archive of the discontinued Mercurial Phabricator instance.

manifest-cache: ignore IOError while writing
ClosedPublic

Authored by marmoute on May 11 2020, 3:27 AM.

Details

Summary

If the wcache directory is non writable for some reason (eg: belong to root).
Trying to write to it currently crash Mercurial. Instead we ignore the error and
skip writing that cache.

We should probably improve the user experience of multiple users interacting
with the same repository. However this is not an adventure for stable.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.May 11 2020, 3:27 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.