HomePhabricator

branchmap: updating triggers a write

Authored by mjpieters.

Description

branchmap: updating triggers a write

Rather than separate updating and writing, create a subclass that doesn't write
on update. This minimises chances we forget to write out updates somewhere.

This also makes refactoring and improving the branchmap functionality easier.

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

Details

Committed
mjpietersJan 21 2019, 11:37 AM
Differential Revision
D5636: branchmap: updating triggers a write
Parents
rHGbf7fb97aecf1: branchmap: make branchcache responsible for reading
Branches
Unknown
Tags
Unknown