This is an archive of the discontinued Mercurial Phabricator instance.

index: use `index.has_node` in `revlog.addrevision`

Authored by marmoute on Nov 8 2019, 8:33 AM.

Diff Detail

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

Event Timeline

marmoute created this revision.Nov 8 2019, 8:33 AM
indygreg accepted this revision.Nov 8 2019, 2:44 PM

I wholeheartedly approve of introducing an explicit API for lookups here.

This revision is now accepted and ready to land.Nov 8 2019, 2:44 PM
marmoute updated this revision to Diff 17836.Nov 9 2019, 12:15 AM
This revision was automatically updated to reflect the committed changes.