equal
deleted
inserted
replaced
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 |