dirstate-tree: Maintain a counter of DirstateEntry’s and copy sources...
dirstate-tree: Maintain a counter of DirstateEntry’s and copy sources
This allows implementing __len__ for DirstateMap and CopyMap efficiently,
without traversing the tree.
Differential Revision:
https://phab.mercurial-scm.org/D10487