This is an archive of the discontinued Mercurial Phabricator instance.

index: use `index.has_node` in `tags.findglobaltags`

Authored by marmoute on Nov 8 2019, 11:25 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, 11:25 AM
indygreg accepted this revision.Nov 8 2019, 5:12 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.

repo.changelog in loops is bad. If you could do a follow-up that aliases repo.changelog.index.has_node outside of the loop, it would be appreciated.

This revision is now accepted and ready to land.Nov 8 2019, 5:12 PM
This revision was automatically updated to reflect the committed changes.