This is an archive of the discontinued Mercurial Phabricator instance.

locarepo: also fastpath `nullid` lookup in __getitem__
ClosedPublic

Authored by marmoute on Nov 22 2019, 4:20 AM.

Details

Summary

We already use that fastpath for "null" and nullrev, using it for nullid
is similar.

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.