HomePhabricator

index: add a `rev` method (API)

Authored by marmoute.

Description

index: add a rev method (API)

The new index.rev(node) is to be preferred over using `node
index.nodemap[node]`.

This get us closer to be able to remove the nodemap attribute of the index.

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

Details

Committed
marmouteNov 9 2019, 7:23 AM
Differential Revision
D7324: index: add a `rev` method (API)
Parents
rHG3350d7aefe67: perf: make `perfphasesremote` use the new `index.has_node` api
Branches
Unknown
Tags
Unknown