This is an archive of the discontinued Mercurial Phabricator instance.

exchangev2: avoid second look-up by node
ClosedPublic

Authored by joerg.sonnenberger on Jan 18 2021, 6:51 PM.

Details

Summary

Accessing the revlog by node is slightly more expensive than by
revision, so look up the revision first and use it afterwards.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage