diff mercurial/hg.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 7c848ab13eff
children ce8828217369
line wrap: on
line diff
--- a/mercurial/hg.py	Thu Apr 12 14:28:08 2018 +0530
+++ b/mercurial/hg.py	Thu Apr 12 14:30:37 2018 +0530
@@ -1021,7 +1021,7 @@
                         ret = (ctx.sub(subpath, allowcreate=False).verify()
                                or ret)
                     except error.RepoError as e:
-                        repo.ui.warn(('%s: %s\n') % (rev, e))
+                        repo.ui.warn(('%d: %s\n') % (rev, e))
             except Exception:
                 repo.ui.warn(_('.hgsubstate is corrupt in revision %s\n') %
                              node.short(ctx.node()))