mercurial/wireproto.py
changeset 36431 ec43960b03e8
parent 36314 be9c497e0bfd
child 36529 33c6f8f0388d
--- a/mercurial/wireproto.py	Mon Feb 26 00:50:35 2018 -0500
+++ b/mercurial/wireproto.py	Mon Feb 26 00:50:57 2018 -0500
@@ -955,7 +955,7 @@
                          encoding.tolocal(old), new) or False
 
     output = output.getvalue() if output else ''
-    return bytesresponse('%s\n%s' % (int(r), output))
+    return bytesresponse('%d\n%s' % (int(r), output))
 
 @wireprotocommand('stream_out')
 def stream(repo, proto):