HomePhabricator

branchmap: make branchcache responsible for reading

Authored by mjpieters.

Description

branchmap: make branchcache responsible for reading

Encapsulate reading in a classmethod, to make it clear what kind of object is
being handled.

This is part of a stack of refactoring changes to help performance improvements
down the line.

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

Details

Committed
mjpietersJan 21 2019, 11:04 AM
Differential Revision
D5635: branchmap: make branchcache responsible for reading
Parents
rHGa5493a251ad3: attr: make some docstrings raw strings
Branches
Unknown
Tags
Unknown