Show More
@@ -463,7 +463,7 b' def symrevorshortnode(req, ctx):' | |||
|
463 | 463 | else: |
|
464 | 464 | return short(ctx.node()) |
|
465 | 465 | |
|
466 | def _listfilesgen(tmpl, ctx, stripecount): | |
|
466 | def _listfilesgen(context, tmpl, ctx, stripecount): | |
|
467 | 467 | parity = paritygen(stripecount) |
|
468 | 468 | for blockno, f in enumerate(ctx.files()): |
|
469 | 469 | template = 'filenodelink' if f in ctx else 'filenolink' |
@@ -502,7 +502,9 b' def changesetentry(web, ctx):' | |||
|
502 | 502 | changesettag=showtags, |
|
503 | 503 | changesetbookmark=showbookmarks, |
|
504 | 504 | changesetbranch=showbranch, |
|
505 | files=list(_listfilesgen(web.tmpl, ctx, web.stripecount)), | |
|
505 | files=templateutil.mappedgenerator(_listfilesgen, | |
|
506 | args=(web.tmpl, ctx, | |
|
507 | web.stripecount)), | |
|
506 | 508 | diffsummary=lambda **x: diffsummary(diffstatsgen), |
|
507 | 509 | diffstat=diffstats, |
|
508 | 510 | archives=web.archivelist(ctx.hex()), |
General Comments 0
You need to be logged in to leave comments.
Login now