mercurial/wireprototypes.py
changeset 36613 6e585bca962e
parent 36609 abc3b9801563
child 36801 66de4555cefd
equal deleted inserted replaced
36612:e89959970a08 36613:6e585bca962e
   135         """
   135         """
   136 
   136 
   137     @abc.abstractmethod
   137     @abc.abstractmethod
   138     def client(self):
   138     def client(self):
   139         """Returns a string representation of this client (as bytes)."""
   139         """Returns a string representation of this client (as bytes)."""
       
   140 
       
   141     @abc.abstractmethod
       
   142     def addcapabilities(self, repo, caps):
       
   143         """Adds advertised capabilities specific to this protocol.
       
   144 
       
   145         Receives the list of capabilities collected so far.
       
   146 
       
   147         Returns a list of capabilities. The passed in argument can be returned.
       
   148         """