( )⚙ D2524 pycompat: add support for encoding argument to our wrapper

This is an archive of the discontinued Mercurial Phabricator instance.

pycompat: add support for encoding argument to our wrapper
ClosedPublic

Authored by durin42 on Mar 1 2018, 6:22 PM.

Details

Summary

This only works on Python 3, but I'm about to need it for a
regrettable hack in the convert code.

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.