Consistency in environment variable configuration

John Arbash Meinel john at arbash-meinel.com
Fri Jul 14 16:36:31 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthieu Moy wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
> 
>> I also think it would be time to deprecate 'BZRPATH' entirely. I don't
>> think anyone uses it, since plugins offer a much richer interface.
> 
> Well, indeed, I don't see much added value of
> 
> $ bzr some-external-command
> 
> compared to
> 
> $ bzr-some-external-command
> 
> (putting the later one in $PATH). Indeed, you pay the startup time of
> bzr and get nothing for it.
> 

Well, you are able to run 'bzr help some-external-command', and some
other minor things. And bzr will format the help and options for you.

I think we can deprecate BZRPATH, and see what happens. If it is just
deprecated, we can find out if people are using it, and maybe re-instate it.

The person who implemented it, just wanted to be able to be consistent.
So that they could always prefix with bzr and have commands like:

bzr mv a b
bzr cp a b
bzr rm a b

Though I think ultimately, that way is dangerous, becaus 'bzr cp a b'
doesn't do what one might think.

I'm hoping that bzr-0.10 will have much lower startup time, so it isn't
as much of an issue. But certainly we aren't there yet.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt7n/JdeBCYSNAAMRAvX9AKCzoi0LJLR9cVzHRyO7kh1qJvFcqQCg04oV
2e7jAwFYi4rejVEKX/NSLyo=
=kQlx
-----END PGP SIGNATURE-----




More information about the bazaar mailing list