Mercurial > hg
diff hgext/infinitepush/__init__.py @ 37579:ce566e0f73d0
py3: use '%d' for integers instead of '%s'
Differential Revision: https://phab.mercurial-scm.org/D3277
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 12 Apr 2018 14:30:37 +0530 |
parents | 56df2ca5c032 |
children | 5e71dea79aae |
line wrap: on
line diff
--- a/hgext/infinitepush/__init__.py Thu Apr 12 14:28:08 2018 +0530 +++ b/hgext/infinitepush/__init__.py Thu Apr 12 14:30:37 2018 +0530 @@ -1042,7 +1042,7 @@ # Notify the user of what is being pushed plural = 's' if len(revs) > 1 else '' - op.repo.ui.warn(_("pushing %s commit%s:\n") % (len(revs), plural)) + op.repo.ui.warn(_("pushing %d commit%s:\n") % (len(revs), plural)) maxoutput = 10 for i in range(0, min(len(revs), maxoutput)): firstline = bundle[revs[i]].description().split('\n')[0][:50]