comparison 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
comparison
equal deleted inserted replaced
35584:6f62a1c3e11d 35585:35fb3367f72d
178 nodeids = [] 178 nodeids = []
179 id = 0 179 id = 0
180 ui.progress(_('building'), id, unit=_('revisions'), total=total) 180 ui.progress(_('building'), id, unit=_('revisions'), total=total)
181 for type, data in dagparser.parsedag(text): 181 for type, data in dagparser.parsedag(text):
182 if type == 'n': 182 if type == 'n':
183 ui.note(('node %s\n' % str(data))) 183 ui.note(('node %s\n' % pycompat.bytestr(data)))
184 id, ps = data 184 id, ps = data
185 185
186 files = [] 186 files = []
187 filecontent = {} 187 filecontent = {}
188 188