Mercurial > hg-stable
changeset 32913:05c213cd8ab8
py3: use '%d' instead of '%s' for integers
Python 3 does not let you use '%s' for integers.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 17 Jun 2017 14:53:25 +0530 |
parents | ec9ed269edc3 |
children | e14484e7f562 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Jun 17 14:39:10 2017 +0530 +++ b/mercurial/localrepo.py Sat Jun 17 14:53:25 2017 +0530 @@ -1174,11 +1174,11 @@ oldtip = oldlen - 1 if detail and ui.verbose: - msg = (_('repository tip rolled back to revision %s' + msg = (_('repository tip rolled back to revision %d' ' (undo %s: %s)\n') % (oldtip, desc, detail)) else: - msg = (_('repository tip rolled back to revision %s' + msg = (_('repository tip rolled back to revision %d' ' (undo %s)\n') % (oldtip, desc)) except IOError: