rust: Return owned instead of borrowed DirstateEntry in DirstateMap APIs...
rust: Return owned instead of borrowed DirstateEntry in DirstateMap APIs
This will enable the tree-based DirstateMap to not always have an actual
DirstateEntry in memory for all nodes, but construct it on demand.
Differential Revision:
https://phab.mercurial-scm.org/D10746