[MERGE] Return (and expect) '3' rather than '2' from the 'hello' verb (protocol v3 patch 4/7)
Andrew Bennetts
andrew at canonical.com
Thu Apr 24 00:00:50 BST 2008
This is the fourth in a series of patches that implement version 3 of the smart
server protocol. The full branch with all changes combined is at
<http://people.ubuntu.com/~andrew/bzr/protocol-v3-loom/>
request.py
----------
This change:
- adds 'do_chunk' and 'do_end' methods to SmartServerRequest
- raises UnknownSmartMethod rather than a generic SmartProtocolError when the
method name is not known. (In protocol.py I've made sure this is still
serialised on the wire the same way as before for v1 and v2.)
- Makes the 'hello' verb return 3! :)
bzrdir.py
---------
Accept "3" as a reply from 'hello'
test_http.py
------------
Expect '3' from 'hello'
test_wsgi.py
------------
Expect '3' not '2' here as well.
-Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-return-3-not-2.patch
Type: text/x-diff
Size: 6714 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080424/0da5abde/attachment-0002.bin
More information about the bazaar
mailing list