# HG changeset patch # User Yuya Nishihara # Date 2018-03-04 21:48:17 # Node ID 2a50241094901b1416615819dc74d32751f86c50 # Parent 5c72b52d3dd02b85d7c672b19b5087a02c99aa37 py3: fix int formatting of "incoming changes" log diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -411,7 +411,7 @@ class cg1unpacker(object): 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]))