[MERGE] Remove registrations of defunct HPSS verbs.
John Arbash Meinel
john at arbash-meinel.com
Mon Jul 7 15:41:45 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Bennetts wrote:
> 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.
>
>
BB:approve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIcisoJdeBCYSNAAMRAiaZAJ9HyjKvyXA+Tq+YXbDBlYnGtWe2owCeKsaE
wMV5woP68qCS3SVulnDzqLI=
=pyTC
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list