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