HomePhabricator

revlog: close the index file handle after the data one

Authored by marmoute.

Description

revlog: close the index file handle after the data one

This make sure the data file is flushed before the index. preventing the index
to reference unflushed data.

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

Details