HomePhabricator

index: add a `has_node` method (API)

Authored by marmoute.

Description

index: add a has_node method (API)

The new index.has_node(node) is to be preferred over:

`node in index.nodemap`.

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

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

Details

Committed
marmouteNov 2 2019, 7:01 PM
Differential Revision
D7322: index: add a `has_node` method (API)
Parents
rHG642433629e20: revlog: deal with nodemap deletion within the index
Branches
Unknown
Tags
Unknown