mercurial/wireprotoserver.py
changeset 36610 af0d38f015bb
parent 36536 3cd245945ef3
child 36613 6e585bca962e
equal deleted inserted replaced
36609:abc3b9801563 36610:af0d38f015bb
   369         return 'remote:ssh:' + client
   369         return 'remote:ssh:' + client
   370 
   370 
   371 class sshv2protocolhandler(sshv1protocolhandler):
   371 class sshv2protocolhandler(sshv1protocolhandler):
   372     """Protocol handler for version 2 of the SSH protocol."""
   372     """Protocol handler for version 2 of the SSH protocol."""
   373 
   373 
       
   374     @property
       
   375     def name(self):
       
   376         return wireprototypes.SSHV2
       
   377 
   374 def _runsshserver(ui, repo, fin, fout, ev):
   378 def _runsshserver(ui, repo, fin, fout, ev):
   375     # This function operates like a state machine of sorts. The following
   379     # This function operates like a state machine of sorts. The following
   376     # states are defined:
   380     # states are defined:
   377     #
   381     #
   378     # protov1-serving
   382     # protov1-serving