D2484: wireprotoserver: identify requests via version 2 of SSH protocol as such
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Mar 2 14:50:29 UTC 2018
indygreg updated this revision to Diff 6334.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2484?vs=6183&id=6334
REVISION DETAIL
https://phab.mercurial-scm.org/D2484
AFFECTED FILES
mercurial/wireprotoserver.py
CHANGE DETAILS
diff --git a/mercurial/wireprotoserver.py b/mercurial/wireprotoserver.py
--- a/mercurial/wireprotoserver.py
+++ b/mercurial/wireprotoserver.py
@@ -371,6 +371,10 @@
class sshv2protocolhandler(sshv1protocolhandler):
"""Protocol handler for version 2 of the SSH protocol."""
+ @property
+ def name(self):
+ return wireprototypes.SSHV2
+
def _runsshserver(ui, repo, fin, fout, ev):
# This function operates like a state machine of sorts. The following
# states are defined:
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list