Show More
@@ -433,7 +433,7 b' def showdiffstat(repo, ctx, templ, **arg' | |||||
433 | """ |
|
433 | """ | |
434 | stats = patch.diffstatdata(util.iterlines(ctx.diff(noprefix=False))) |
|
434 | stats = patch.diffstatdata(util.iterlines(ctx.diff(noprefix=False))) | |
435 | maxname, maxtotal, adds, removes, binary = patch.diffstatsum(stats) |
|
435 | maxname, maxtotal, adds, removes, binary = patch.diffstatsum(stats) | |
436 |
return '% |
|
436 | return '%d: +%d/-%d' % (len(stats), adds, removes) | |
437 |
|
437 | |||
438 | @templatekeyword('envvars') |
|
438 | @templatekeyword('envvars') | |
439 | def showenvvars(ui, **args): |
|
439 | def showenvvars(ui, **args): |
General Comments 0
You need to be logged in to leave comments.
Login now