vfs: give all vfs an options attribute by default
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. Differential Revision: https://phab.mercurial-scm.org/D6935
Showing
- contrib/dumprevlog 1 addition, 0 deletionscontrib/dumprevlog
- mercurial/revlog.py 2 additions, 2 deletionsmercurial/revlog.py
- mercurial/statichttprepo.py 1 addition, 0 deletionsmercurial/statichttprepo.py
- mercurial/vfs.py 1 addition, 0 deletionsmercurial/vfs.py
- tests/test-parseindex.t 1 addition, 0 deletionstests/test-parseindex.t
Loading
Please register or sign in to comment