This is an archive of the discontinued Mercurial Phabricator instance.

py3: do a fsdecode(), fsencode() dance in posix.py
ClosedPublic

Authored by pulkit on Feb 3 2019, 7:13 AM.

Details

Summary

We have to use fsdecode() instead of sysstr() because they are abusing
PyUnicode_EncodeFSDefault() to get back bytes.

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.Feb 3 2019, 7:13 AM
This revision was automatically updated to reflect the committed changes.