Show More
@@ -509,7 +509,7 b' def changesetentry(web, ctx):' | |||
|
509 | 509 | |
|
510 | 510 | parity = paritygen(web.stripecount) |
|
511 | 511 | diffstatsgen = diffstatgen(ctx, basectx) |
|
512 |
diffstats = diffstat( |
|
|
512 | diffstats = diffstat(ctx, diffstatsgen, parity) | |
|
513 | 513 | |
|
514 | 514 | return dict( |
|
515 | 515 | diff=diff, |
@@ -694,7 +694,7 b' def _diffstattmplgen(context, ctx, statg' | |||
|
694 | 694 | 'parity': next(parity), |
|
695 | 695 | }) |
|
696 | 696 | |
|
697 |
def diffstat( |
|
|
697 | def diffstat(ctx, statgen, parity): | |
|
698 | 698 | '''Return a diffstat template for each file in the diff.''' |
|
699 | 699 | args = (ctx, statgen, parity) |
|
700 | 700 | return templateutil.mappedgenerator(_diffstattmplgen, args=args) |
General Comments 0
You need to be logged in to leave comments.
Login now