This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: extract handling of some special value in __getitem__
ClosedPublic

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

Details

Summary

The value "null" will always be present in a repository. So this lookup should
always succeed and do not need to be in the general try/catch.

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.