This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: fix conversion of exceptions to strings flagged by pytype
ClosedPublic

Authored by mharbison72 on Mar 8 2021, 6:44 PM.

Details

Summary

This is the same as e571fec5b606. I assume the 3 similar uses of bytestr in
__getitem__() are OK (even though pytype also flags them), because there is
apparently test coverage for 2 of the 3 cases.

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.Mar 8 2021, 6:44 PM
pulkit accepted this revision.Mar 9 2021, 12:15 AM
This revision is now accepted and ready to land.Mar 9 2021, 12:15 AM