This is an archive of the discontinued Mercurial Phabricator instance.

revlog: drop LookupError alias (API)
ClosedPublic

Authored by indygreg on Sep 18 2018, 8:06 PM.

Details

Summary

This alias is especially bad because it shadows the built-in
LookupError type. This has caused me confusion in the past
when reading revlog code. Qualifying all uses with "error." will
make it obvious that we're using a Mercurial error type.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Sep 18 2018, 8:06 PM
This revision was automatically updated to reflect the committed changes.