Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 35585:35fb3367f72d
py3: use pycompat.bytestr() instead of str()
Differential Revision: https://phab.mercurial-scm.org/D1795
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 29 Dec 2017 05:29:04 +0530 |
parents | 6580cf751418 |
children | 43154a76f392 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Fri Dec 29 05:28:05 2017 +0530 +++ b/mercurial/debugcommands.py Fri Dec 29 05:29:04 2017 +0530 @@ -180,7 +180,7 @@ ui.progress(_('building'), id, unit=_('revisions'), total=total) for type, data in dagparser.parsedag(text): if type == 'n': - ui.note(('node %s\n' % str(data))) + ui.note(('node %s\n' % pycompat.bytestr(data))) id, ps = data files = []