[MERGE] Remove registrations of defunct HPSS verbs.
Andrew Bennetts
andrew at canonical.com
Mon Jul 7 06:49:50 BST 2008
Hi,
This patch fixes a bit of fallout from the VersionedFiles landing: we removed a
couple of smart protocol verbs, but forgot to remove their request handlers.
This was causing a compatibility problem with older clients, which would try
these requests and get an unexpected error from the server:
Could not understand response from smart server: ('error', "'module' object
has no attribute 'SmartServerRepositoryStreamRevisionsChunked'")
This simple patch fixes this by removing the register_lazy calls for the absent
request handlers, and also adds a test that all registered request_handlers
exist so that this error can't happen again.
Thanks to stewart on #bzr for reporting this.
-Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpss-1-5-compat-3527.patch
Type: text/x-diff
Size: 4178 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080707/b9883e4c/attachment.bin
More information about the bazaar
mailing list