##// END OF EJS Templates
hgweb: ensure template mapping keys are bytes...
Gregory Szorc -
r41356:eff0a7d3 default
parent child Browse files
Show More
@@ -456,13 +456,13 b' def changelistentry(web, ctx):'
456 files = listfilediffs(ctx.files(), n, web.maxfiles)
456 files = listfilediffs(ctx.files(), n, web.maxfiles)
457
457
458 entry = commonentry(repo, ctx)
458 entry = commonentry(repo, ctx)
459 entry.update(
459 entry.update({
460 allparents=_kwfunc(lambda context, mapping: parents(ctx)),
460 'allparents': _kwfunc(lambda context, mapping: parents(ctx)),
461 parent=_kwfunc(lambda context, mapping: parents(ctx, rev - 1)),
461 'parent': _kwfunc(lambda context, mapping: parents(ctx, rev - 1)),
462 child=_kwfunc(lambda context, mapping: children(ctx, rev + 1)),
462 'child': _kwfunc(lambda context, mapping: children(ctx, rev + 1)),
463 changelogtag=showtags,
463 'changelogtag': showtags,
464 files=files,
464 'files': files,
465 )
465 })
466 return entry
466 return entry
467
467
468 def changelistentries(web, revs, maxcount, parityfn):
468 def changelistentries(web, revs, maxcount, parityfn):
General Comments 0
You need to be logged in to leave comments. Login now