This is an archive of the discontinued Mercurial Phabricator instance.

ui: convert stack traces to sysbytes before logging
ClosedPublic

Authored by durin42 on Feb 12 2018, 10:30 PM.

Details

Summary

They're coming back as unicodes, so sysbytes seems like the best we can do.

This is like D2171 and D2172, but those fail on Python 2.7.5
(seriously!), so this is my version of the same change. I actually
wrote this before reviewing those, then discarded it, then came back
to it after finding out 2.7.5 is a silly place.

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

durin42 created this revision.Feb 12 2018, 10:30 PM
indygreg accepted this revision.Feb 12 2018, 10:43 PM
This revision is now accepted and ready to land.Feb 12 2018, 10:43 PM
This revision was automatically updated to reflect the committed changes.