mercurial/wireprotov2server.py
changeset 41399 e053053ceba7
parent 41398 56fcbac62f67
child 41425 e82288a9556c
--- a/mercurial/wireprotov2server.py	Fri Jan 25 14:38:49 2019 -0800
+++ b/mercurial/wireprotov2server.py	Fri Jan 25 14:57:37 2019 -0800
@@ -745,7 +745,7 @@
             # More granular cache key invalidation.
             b'localversion': localversion,
             # Cache keys are segmented by command.
-            b'command': pycompat.sysbytes(command),
+            b'command': command,
             # Throw in the media type and API version strings so changes
             # to exchange semantics invalid cache.
             b'mediatype': FRAMINGTYPE,