This is an archive of the discontinued Mercurial Phabricator instance.

py3: use encoding.strfromlocal() instead of pycompat.sysstr()
ClosedPublic

Authored by pulkit on May 21 2018, 4:44 PM.

Details

Summary

opts['dateformat'] is provided by the user and can be encoded in local encoding.
Thanks to Yuya for catching.

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

pulkit created this revision.May 21 2018, 4:44 PM
This revision was automatically updated to reflect the committed changes.