Mercurial > hg-stable
changeset 33116:53238678b1ca
py3: use '%d' to convert integers to bytes
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 26 Jun 2017 17:22:45 +0530 |
parents | db8531c45953 |
children | a5e1393f61a2 |
files | mercurial/patch.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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' %