Page MenuHomePhabricator

index: add a `get_rev` method (API)
ClosedPublic

Authored by marmoute on Fri, Nov 8, 8:34 AM.

Details

Summary

The new index.getrev(node) is to be preferred over using:
index.nodemap.get(node).

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

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.