D4254: wireprotohelpers: add missing b prefixes
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Aug 10 12:03:29 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb3c6c194f33a: wireprotohelpers: add missing b prefixes (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4254?vs=10306&id=10314
REVISION DETAIL
https://phab.mercurial-scm.org/D4254
AFFECTED FILES
tests/wireprotohelpers.sh
CHANGE DETAILS
diff --git a/tests/wireprotohelpers.sh b/tests/wireprotohelpers.sh
--- a/tests/wireprotohelpers.sh
+++ b/tests/wireprotohelpers.sh
@@ -20,19 +20,19 @@
wireprotov2server,
)
- at wireprotov1server.wireprotocommand('customreadonly', permission='pull')
+ at wireprotov1server.wireprotocommand(b'customreadonly', permission=b'pull')
def customreadonlyv1(repo, proto):
return wireprototypes.bytesresponse(b'customreadonly bytes response')
- at wireprotov2server.wireprotocommand('customreadonly', permission='pull')
+ at wireprotov2server.wireprotocommand(b'customreadonly', permission=b'pull')
def customreadonlyv2(repo, proto):
return wireprototypes.cborresponse(b'customreadonly bytes response')
- at wireprotov1server.wireprotocommand('customreadwrite', permission='push')
+ at wireprotov1server.wireprotocommand(b'customreadwrite', permission=b'push')
def customreadwrite(repo, proto):
return wireprototypes.bytesresponse(b'customreadwrite bytes response')
- at wireprotov2server.wireprotocommand('customreadwrite', permission='push')
+ at wireprotov2server.wireprotocommand(b'customreadwrite', permission=b'push')
def customreadwritev2(repo, proto):
return wireprototypes.cborresponse(b'customreadwrite bytes response')
EOF
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list