--- a/hgext3rd/evolve/compat.py Tue Jul 09 10:56:42 2019 -0700
+++ b/hgext3rd/evolve/compat.py Tue Jul 09 10:56:42 2019 -0700
@@ -123,7 +123,7 @@
makedate = mercurial.util.makedate
parsedate = mercurial.util.parsedate
-def wireprotocommand(exthelper, name, args='', permission='pull'):
+def wireprotocommand(exthelper, name, args=b'', permission=b'pull'):
try:
# Since b4d85bc1
from mercurial.wireprotov1server import wireprotocommand
--- a/hgext3rd/evolve/obsdiscovery.py Tue Jul 09 10:56:42 2019 -0700
+++ b/hgext3rd/evolve/obsdiscovery.py Tue Jul 09 10:56:42 2019 -0700
@@ -688,7 +688,7 @@
except ValueError:
self._abort(error.ResponseError(_("unexpected response:"), d))
-@compat.wireprotocommand(eh, 'evoext_obshashrange_v1', 'ranges')
+@compat.wireprotocommand(eh, b'evoext_obshashrange_v1', b'ranges')
def srv_obshashrange_v1(repo, proto, ranges):
ranges = decodelist(ranges)
ranges = [_decrange(r) for r in ranges]