( )⚙ D12128 branchmap: stop writing cache for uncommitted data

This is an archive of the discontinued Mercurial Phabricator instance.

branchmap: stop writing cache for uncommitted data
ClosedPublic

Authored by marmoute on Feb 1 2022, 11:51 AM.

Details

Summary

If we are about to write the branch while a transaction is active. we delay
that write. After the transaction is closed, we flush all the write we delayed
(unless they have been written in between).

Diff Detail

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

Event Timeline

marmoute created this revision.Feb 1 2022, 11:51 AM
Alphare accepted this revision.Feb 2 2022, 5:04 AM
This revision is now accepted and ready to land.Feb 2 2022, 5:04 AM
This revision was automatically updated to reflect the committed changes.