Mercurial > hg-stable
diff mercurial/changegroup.py @ 36760: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 | 94709406f10d |
children | 7bf80d9d9543 |
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]))