D1102: wireproto: use %d to encode int, not %s
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 16 05:17:38 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG31fdd0509de9: wireproto: use %d to encode int, not %s (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1102?vs=2794&id=2804
REVISION DETAIL
https://phab.mercurial-scm.org/D1102
AFFECTED FILES
mercurial/wireproto.py
CHANGE DETAILS
diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py
--- a/mercurial/wireproto.py
+++ b/mercurial/wireproto.py
@@ -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):
To: durin42, #hg-reviewers, ryanmce
Cc: ryanmce, mercurial-devel
More information about the Mercurial-devel
mailing list