Mercurial > hg
changeset 34731:31fdd0509de9
wireproto: use %d to encode int, not %s
Differential Revision: https://phab.mercurial-scm.org/D1102
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 15 Oct 2017 00:40:07 -0400 |
parents | 6be264009841 |
children | 67e9678efd98 |
files | mercurial/wireproto.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/wireproto.py Sun Oct 15 00:06:06 2017 -0400 +++ b/mercurial/wireproto.py Sun Oct 15 00:40:07 2017 -0400 @@ -907,7 +907,7 @@ except Exception as inst: r = str(inst) success = 0 - return "%s %s\n" % (success, r) + return "%d %s\n" % (success, r) @wireprotocommand('known', 'nodes *') def known(repo, proto, nodes, others):