mercurial/hg.py
changeset 37579 ce566e0f73d0
parent 37481 7c848ab13eff
child 37640 ce8828217369
--- 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()))