D1556: py3: use pycompat.bytestr() or '%d' in place of str()
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Dec 1 21:57:53 EST 2017
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> cmdutil.py:828
> 'h': lambda: short(node),
> - 'm': lambda: re.sub('[^\w]', '_', str(desc))
> + 'm': lambda: re.sub('[^\w]', '_', pycompat.bytestr(desc or ''))
> }
and now no `str()` nor `bytestr()` should be needed.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1556
To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list