py3: fix int formatting of "incoming changes" log
authorYuya Nishihara <yuya@tcha.org>
Sun, 04 Mar 2018 16:48:17 -0500
changeset 36760 2a5024109490
parent 36759 5c72b52d3dd0
child 36761 70a98c3fba2a
py3: fix int formatting of "incoming changes" log
mercurial/changegroup.py
--- 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]))