This is an archive of the discontinued Mercurial Phabricator instance.

typing: suppress a false error in mercurial/revlogutils/docket.py on py2
ClosedPublic

Authored by mharbison72 on Jun 12 2021, 2:51 PM.

Details

Summary

ord() wants bytes or str on py3, so I'm guessing it got confused by passing a
single byte instead of a one byte string. But this seems to work on 2.7.18
anyway.

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.Jun 12 2021, 2:51 PM
pulkit accepted this revision.Jun 14 2021, 4:31 PM
This revision is now accepted and ready to land.Jun 14 2021, 4:31 PM