##// END OF EJS Templates
py3: use '%d' to format diffstat sum
Yuya Nishihara -
r36517:77f681f1 default
parent child Browse files
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 '%s: +%s/-%s' % (len(stats), adds, removes)
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