( )⚙ D11718 typing: add a few assertions to revlog.py to help pytype

This is an archive of the discontinued Mercurial Phabricator instance.

typing: add a few assertions to revlog.py to help pytype
ClosedPublic

Authored by mharbison72 on Oct 23 2021, 4:06 PM.

Details

Summary

I've seen this before, but this was seen as potentially None with pytype
2021.10.18.

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

mharbison72 created this revision.Oct 23 2021, 4:06 PM
Alphare accepted this revision.Oct 26 2021, 4:37 AM
This revision is now accepted and ready to land.Oct 26 2021, 4:37 AM