This is an archive of the discontinued Mercurial Phabricator instance.

ui: use pycompat.bytestr() to get a bytes-repr of config default
ClosedPublic

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

Details

Summary

We don't know what type we'll get here, so we need something that'll
behave like a repr without returning a unicode.

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:29 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.