Show More
@@ -463,11 +463,11 b' def symrevorshortnode(req, ctx):' | |||
|
463 | 463 | else: |
|
464 | 464 | return short(ctx.node()) |
|
465 | 465 | |
|
466 |
def _listfilesgen(context |
|
|
466 | def _listfilesgen(context, 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' |
|
470 |
yield |
|
|
470 | yield context.process(template, { | |
|
471 | 471 | 'node': ctx.hex(), |
|
472 | 472 | 'file': f, |
|
473 | 473 | 'blockno': blockno + 1, |
@@ -503,8 +503,7 b' def changesetentry(web, ctx):' | |||
|
503 | 503 | changesetbookmark=showbookmarks, |
|
504 | 504 | changesetbranch=showbranch, |
|
505 | 505 | files=templateutil.mappedgenerator(_listfilesgen, |
|
506 |
args=(web. |
|
|
507 | web.stripecount)), | |
|
506 | args=(ctx, web.stripecount)), | |
|
508 | 507 | diffsummary=lambda **x: diffsummary(diffstatsgen), |
|
509 | 508 | diffstat=diffstats, |
|
510 | 509 | archives=web.archivelist(ctx.hex()), |
General Comments 0
You need to be logged in to leave comments.
Login now