This is an archive of the discontinued Mercurial Phabricator instance.

errors: stop passing non-strings to Abort's constructor
ClosedPublic

Authored by martinvonz on Oct 8 2020, 7:10 PM.

Details

Summary

The next patch will change Abort's constructor and __bytes__
functions and they will start assuming that the first argument is the
messages as bytes.

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

martinvonz created this revision.Oct 8 2020, 7:10 PM
pulkit accepted this revision.Oct 9 2020, 5:09 AM
This revision is now accepted and ready to land.Oct 9 2020, 5:09 AM