##// END OF EJS Templates
py3: use pycompat.bytestr instead of str
Pulkit Goyal -
r33105:a5e1393f default
parent child Browse files
Show More
@@ -324,7 +324,7 b' def annotate(ui, repo, *pats, **opts):'
324 return '%s ' % hex
324 return '%s ' % hex
325 else:
325 else:
326 hexfn = rootfm.hexfunc
326 hexfn = rootfm.hexfunc
327 formatrev = formathex = str
327 formatrev = formathex = pycompat.bytestr
328
328
329 opmap = [('user', ' ', lambda x: x[0].user(), ui.shortuser),
329 opmap = [('user', ' ', lambda x: x[0].user(), ui.shortuser),
330 ('number', ' ', lambda x: x[0].rev(), formatrev),
330 ('number', ' ', lambda x: x[0].rev(), formatrev),
General Comments 0
You need to be logged in to leave comments. Login now