Custom HPSS request handlers?

Russ Brown pickscrape at
Thu Jan 22 16:46:03 GMT 2009

Andrew Bennetts wrote:
> Russ Brown wrote:
>> John Arbash Meinel wrote:
> [...]
>>> On the server side you would need to register the RPC in
>> Excellent, it looks like I can just call this from within the plugin: I
>> really didn't want to have to use a custom bzrlib.
> Yep.  The APIs John mentioned are intended to allow custom requests to
> be added by plugins, i.e. exactly what you're doing.  Not many people do
> (yet?), but I'm glad to hear it's useful to someone :)
> -Andrew.

I'm pleased to report that I've got it working. John's example was most
useful: the only thing I had to tweak was to use _call instead of
_call_with_body_bytes (which doesn't actually exist).

Before moving it to a server-side procedure, this operation took more
than 30 minutes to run for me over a WAN connection. Now it runs in 1.5
minutes, which is a massive improvement.

Thanks again!



More information about the bazaar mailing list