author | Yuya Nishihara <yuya@tcha.org> |
Thu, 01 Mar 2018 06:43:13 -0500 | |
changeset 36499 | 77f681f11003 |
parent 36498 | b546181ae451 |
child 36500 | 43e108027b0d |
--- a/mercurial/templatekw.py Thu Mar 01 06:40:09 2018 -0500 +++ b/mercurial/templatekw.py Thu Mar 01 06:43:13 2018 -0500 @@ -433,7 +433,7 @@ """ stats = patch.diffstatdata(util.iterlines(ctx.diff(noprefix=False))) maxname, maxtotal, adds, removes, binary = patch.diffstatsum(stats) - return '%s: +%s/-%s' % (len(stats), adds, removes) + return '%d: +%d/-%d' % (len(stats), adds, removes) @templatekeyword('envvars') def showenvvars(ui, **args):