mercurial/wireprotoserver.py
changeset 35976 48a3a9283f09
parent 35900 72de5c504833
child 35982 5a56bf4180ad
equal deleted inserted replaced
35975:40d94ea51402 35976:48a3a9283f09
    29 HTTP_OK = 200
    29 HTTP_OK = 200
    30 
    30 
    31 HGTYPE = 'application/mercurial-0.1'
    31 HGTYPE = 'application/mercurial-0.1'
    32 HGTYPE2 = 'application/mercurial-0.2'
    32 HGTYPE2 = 'application/mercurial-0.2'
    33 HGERRTYPE = 'application/hg-error'
    33 HGERRTYPE = 'application/hg-error'
       
    34 
       
    35 # Names of the SSH protocol implementations.
       
    36 SSHV1 = 'ssh-v1'
       
    37 # This is advertised over the wire. Incremental the counter at the end
       
    38 # to reflect BC breakages.
       
    39 SSHV2 = 'exp-ssh-v2-0001'
    34 
    40 
    35 class abstractserverproto(object):
    41 class abstractserverproto(object):
    36     """abstract class that summarizes the protocol API
    42     """abstract class that summarizes the protocol API
    37 
    43 
    38     Used as reference and documentation.
    44     Used as reference and documentation.