mercurial/wireprotoserver.py
changeset 35976 48a3a9283f09
parent 35900 72de5c504833
child 35982 5a56bf4180ad
--- a/mercurial/wireprotoserver.py	Tue Feb 06 10:51:15 2018 -0800
+++ b/mercurial/wireprotoserver.py	Tue Feb 06 11:08:36 2018 -0800
@@ -32,6 +32,12 @@
 HGTYPE2 = 'application/mercurial-0.2'
 HGERRTYPE = 'application/hg-error'
 
+# Names of the SSH protocol implementations.
+SSHV1 = 'ssh-v1'
+# This is advertised over the wire. Incremental the counter at the end
+# to reflect BC breakages.
+SSHV2 = 'exp-ssh-v2-0001'
+
 class abstractserverproto(object):
     """abstract class that summarizes the protocol API