D2261: py3: use pycompat.bytestr to convert str to bytes
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Wed Feb 14 08:17:49 EST 2018
yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.
Here `'%r' % pycompat.bytestr(user)` is preferred since repr(user) would
leave `b''` prefix in error message.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2261
To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list