mercurial/interfaces/repository.py
changeset 49748 78af51ba73c5
parent 48946 642e31cb55f0
child 49751 a6e2a668c746
equal deleted inserted replaced
49747:8a38cd76588f 49748:78af51ba73c5
   119     def local():
   119     def local():
   120         """Returns a local repository instance.
   120         """Returns a local repository instance.
   121 
   121 
   122         If the peer represents a local repository, returns an object that
   122         If the peer represents a local repository, returns an object that
   123         can be used to interface with it. Otherwise returns ``None``.
   123         can be used to interface with it. Otherwise returns ``None``.
   124         """
       
   125 
       
   126     def peer():
       
   127         """Returns an object conforming to this interface.
       
   128 
       
   129         Most implementations will ``return self``.
       
   130         """
   124         """
   131 
   125 
   132     def canpush():
   126     def canpush():
   133         """Returns a boolean indicating if this peer can be pushed to."""
   127         """Returns a boolean indicating if this peer can be pushed to."""
   134 
   128