D1909: cmdutil: add a kludge to make bytes repr() the same on 2 and 3
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Jan 19 08:34:44 EST 2018
yuja accepted this revision.
yuja added a comment.
This revision is now accepted and ready to land.
This looks ugly, but seems okay. Since `sysstr()` decodes bytes as latin-1,
8-bit characters will be escaped by `\x`, not by `\u`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1909
To: durin42, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list