D5697: wireprotov2server: don't attempt to cast command name
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Jan 25 21:17:18 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc780c9c7118c: wireprotov2server: don't attempt to cast command name (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5697?vs=13466&id=13475
REVISION DETAIL
https://phab.mercurial-scm.org/D5697
AFFECTED FILES
mercurial/wireprotov2server.py
CHANGE DETAILS
diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py
--- a/mercurial/wireprotov2server.py
+++ b/mercurial/wireprotov2server.py
@@ -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,
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list