This is an archive of the discontinued Mercurial Phabricator instance.

py3: use '%s' instead of %r in hgext/convert/subversion.py
ClosedPublic

Authored by pulkit on Oct 12 2018, 9:58 PM.

Details

Summary

Using '%r' on bytes in python 3 adds b'' prefixes to output which is bad. I
don't see a reason why we want to repr() the string here, so just switched to
'%s'. This fixes some output failure in one of the subversion test.

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.