##// END OF EJS Templates
py3: use pycompat.bytestr instead of str...
Pulkit Goyal -
r36204:c1628a5e default
parent child Browse files
Show More
@@ -337,8 +337,8 b' def annotate(ui, repo, *pats, **opts):'
337 ('number', ' ', lambda x: x.fctx.rev(), formatrev),
337 ('number', ' ', lambda x: x.fctx.rev(), formatrev),
338 ('changeset', ' ', lambda x: hexfn(x.fctx.node()), formathex),
338 ('changeset', ' ', lambda x: hexfn(x.fctx.node()), formathex),
339 ('date', ' ', lambda x: x.fctx.date(), util.cachefunc(datefunc)),
339 ('date', ' ', lambda x: x.fctx.date(), util.cachefunc(datefunc)),
340 ('file', ' ', lambda x: x.fctx.path(), str),
340 ('file', ' ', lambda x: x.fctx.path(), pycompat.bytestr),
341 ('line_number', ':', lambda x: x.lineno, str),
341 ('line_number', ':', lambda x: x.lineno, pycompat.bytestr),
342 ]
342 ]
343 fieldnamemap = {'number': 'rev', 'changeset': 'node'}
343 fieldnamemap = {'number': 'rev', 'changeset': 'node'}
344
344
General Comments 0
You need to be logged in to leave comments. Login now