~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

Add Smart{Client,Server}RequestProtocolTwo, that prefix args tuples with a version marker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
    """Answer a version request with my version."""
204
204
 
205
205
    def do(self):
206
 
        return SmartServerResponse(('ok', '1'))
 
206
        return SmartServerResponse(('ok', '2'))
207
207
 
208
208
 
209
209
class GetBundleRequest(SmartServerRequest):