[PATCH] Add support for external command handlers

Rusty Russell rusty at rustcorp.com.au
Tue May 10 10:55:11 BST 2005


On Tue, 2005-05-10 at 18:24 +1000, Martin Pool wrote:
> Hi Rusty,
> 
> mpe's patch requires that the script implement --bzr-usage and
> --bzr-options.  So you can't, for example, just do 'bzr cp' without
> writing a wrapper around it.  Do you think this is a good idea?

Yes.  Normal commands don't really make much sense to wrap.
--bzr-options is a little weird: I'd prefer free-form options for these
commands.  But change --bzr-usage to --help, and sure.

Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman





More information about the bazaar mailing list