Page MenuHomePhabricator

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

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