This is an archive of the discontinued Mercurial Phabricator instance.

util: convert an exception to bytes when passing to Abort()
ClosedPublic

Authored by mharbison72 on Nov 21 2019, 6:23 PM.

Details

Summary

I happened to notice this searching for how to convert an exception to bytes in
the previous patch. I'm pretty sure I've got a bunch of other instances that
use pycompat.bytestr() suppressed locally.

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.Nov 21 2019, 6:23 PM
indygreg accepted this revision.Nov 21 2019, 9:48 PM
This revision is now accepted and ready to land.Nov 21 2019, 9:48 PM