Page MenuHomePhabricator

encoding: use raw strings for encoding arguments
ClosedPublic

Authored by indygreg on Mar 2 2019, 4:26 PM.

Details

Summary

This prevents the internals of Python from coercing a unicode to str
on Python 2 and makes tests run with HGUNICODEPEDANTRY=1 a lot
happier.

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

indygreg created this revision.Mar 2 2019, 4:26 PM
This revision was automatically updated to reflect the committed changes.