[BUG] bzr runs files in the current directory if supplied as a command name
Michael Ellerman
michael at ellerman.id.au
Thu Nov 10 22:55:46 GMT 2005
On Fri, 11 Nov 2005 09:47, John Arbash Meinel wrote:
> Michael Ellerman wrote:
> > On Thu, 10 Nov 2005 14:07, John A Meinel wrote:
> >>The ExternalCommand code is designed to search all directories located
> >>in BZRPATH, such that if the user runs "bzr <command>", and <command> is
> >>not known, but it can be found in BZRPATH, it will be run.
> >>
> >>The problem, was that it was interpreting an empty BZRPATH, as the local
> >>directory.
> >>
> >>This has been fixed in my integration branch:
> >>http://bzr.arbash-meinel.com/branches/bzr/jam-integration/
> >>revno = 1324
> >
> > Is anyone still using that code, ie. non-python plugins? I think it's
> > been demonstrated that python-plugins are the way to go.
>
> I agree that python plugins are by far the preferred method. But if
> someone wants to put together their own scripting stuff using extern
> shell scripts, I think most of the work has been done to support that.
>
> That said, I don't know of anyone that is using it.
Yeah, I was just thinking if no-one's using it we could pull that code out,
but I guess there's no real harm having it in there. I don't suppose you
could move the ExternalCommand stuff into a python-plugin, it's too deep in
the code.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051111/8fd86660/attachment.pgp
More information about the bazaar
mailing list