HomePhabricator

revlog: only use the `_indexfp` method for read operation

Authored by marmoute.

Description

revlog: only use the _indexfp method for read operation

This will avoid "other" code to not overlook _writing usage. We introduces
private method dedicated to writing to make use the right option are always
used.

Differential Revision: https://phab.mercurial-scm.org/D10610

Details

Committed
marmouteMay 3 2021, 6:28 AM
Differential Revision
D10610: revlog: only use the `_indexfp` method for read operation
Parents
rHGb3acefded601: revlog: use `_writing` in `rewrite_sidedata`
Branches
Unknown
Tags
Unknown