equal
deleted
inserted
replaced
164 'cbattempted': 'boolean'} |
164 'cbattempted': 'boolean'} |
165 |
165 |
166 # client side |
166 # client side |
167 |
167 |
168 class wirepeer(peer.peerrepository): |
168 class wirepeer(peer.peerrepository): |
169 |
169 """Client-side interface for communicating with a peer repository. |
|
170 |
|
171 Methods commonly call wire protocol commands of the same name. |
|
172 |
|
173 See also httppeer.py and sshpeer.py for protocol-specific |
|
174 implementations of this interface. |
|
175 """ |
170 def batch(self): |
176 def batch(self): |
171 if self.capable('batch'): |
177 if self.capable('batch'): |
172 return remotebatch(self) |
178 return remotebatch(self) |
173 else: |
179 else: |
174 return peer.localbatch(self) |
180 return peer.localbatch(self) |