changeset 36737:2a5024109490

py3: fix int formatting of "incoming changes" log
author Yuya Nishihara <yuya@tcha.org>
date Sun, 04 Mar 2018 16:48:17 -0500
parents 5c72b52d3dd0
children 70a98c3fba2a
files mercurial/changegroup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Sun Mar 04 16:48:01 2018 -0500
+++ b/mercurial/changegroup.py	Sun Mar 04 16:48:17 2018 -0500
@@ -411,7 +411,7 @@
                     newheads = [h for h in repo.heads()
                                 if h not in oldheads]
                     repo.ui.log("incoming",
-                                "%s incoming changes - new heads: %s\n",
+                                "%d incoming changes - new heads: %s\n",
                                 len(added),
                                 ', '.join([hex(c[:6]) for c in newheads]))