( )⚙ D10776 revlog: close the index file handle after the data one

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: close the index file handle after the data one
ClosedPublic

Authored by marmoute on May 27 2021, 3:05 AM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

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