This is an archive of the discontinued Mercurial Phabricator instance.

node: import symbols explicitly
ClosedPublic

Authored by joerg.sonnenberger on Dec 1 2020, 4:06 PM.

Details

Summary

There is no point in lazy importing mercurial.node, it is used all over
the place anyway. So consistently import the used symbols directly.
Fix one file using symbols indirectly via mercurial.revlog.

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.

Event Timeline

Alphare accepted this revision.Dec 14 2020, 5:08 AM
Alphare added a subscriber: Alphare.

Thanks for doing this, that looks tedious.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.