diff -r db8531c45953 -r 53238678b1ca mercurial/patch.py --- a/mercurial/patch.py Sun Jun 25 08:36:51 2017 +0530 +++ b/mercurial/patch.py Mon Jun 26 17:22:45 2017 +0530 @@ -2712,7 +2712,7 @@ if isbinary: count = 'Bin' else: - count = adds + removes + count = '%d' % (adds + removes) pluses = '+' * scale(adds) minuses = '-' * scale(removes) output.append(' %s%s | %*s %s%s\n' %