[Patch] Updated support for external command handlers

Michael Ellerman michael+bazaar at ellerman.id.au
Tue May 10 00:19:09 BST 2005


On Tue, 10 May 2005 02:41, Aaron Bentley wrote:
> Michael Ellerman wrote:
> | +        for dir in bzrpath.split(':'):
> | +            path = os.path.join(dir, cmd)
> | +            if os.path.isfile(path):
> | +                return ExternalCommand(path)
>
> Since subcommands may be delivered as bzr trees, I think it would be
> nice to support subdirectories in bzrpathdirs.

Is it really necessary?

Seems to me like it might lead to slightly weird behaviour, eg. if you add a 
large directory to your $BZRPATH all of a sudden you've got *lots* of bzr 
commands, some of which you perhaps didn't want.

And you can always add those sub dirs to your $BZRPATH if necessary.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person




More information about the bazaar mailing list