( )⚙ D6935 vfs: give all vfs an options attribute by default

This is an archive of the discontinued Mercurial Phabricator instance.

vfs: give all vfs an options attribute by default
ClosedPublic

Authored by marmoute on Oct 1 2019, 8:33 AM.

Details

Summary

Multiple code path assume vfs have an options attribute, including the vfs module
itself. So for consistency we explicitly add one to all vfs.

This will prevent various crash in the next changesets.

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.Oct 1 2019, 8:33 AM
marmoute updated this revision to Diff 16749.Oct 1 2019, 12:37 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.