[RFC] make miss alias to missing?

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jan 10 15:33:12 GMT 2006


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

Wouter van Heyst wrote:
> On Tue, Jan 10, 2006 at 10:41:36AM -0200, Julio Biason wrote:
> 
>>On 10/01/06, Wouter van Heyst <larstiq at larstiq.dyndns.org> wrote:
>>
>>>>Why not autocomplete on every command?  I.E. why not hack get_cmd_object
>>>>to search though all of the commands and see if only one command has a
>>>>leading match? That would allow for things like "bzr com" "bzr l" and such
>>>
>>>That will certainly break with new versions of bzr/plugins. There is
>>>some value in predictability.
>>
>>Using the "whole" command name would make them predictable.
> 
> 
> So I've been using ci for commit since the dawn of time, but it is okay
> to break that, I should have been spelling it in full?

I think aliases are fine, because there's a limited number, and that
makes it easy to avoid redefining an existing alias by accident.

Allowing autocompletion would produce a huge number of aliases, which
makes it much harder to find an alias that's not already in use.

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

iD8DBQFDw9O30F+nu1YWqI0RAra9AJ94CcPIsZyL4Ex4EhDUKq4k30/s9QCghPRn
eaQfSSDFPlW8RDKpb7a4kyk=
=sv/K
-----END PGP SIGNATURE-----




More information about the bazaar mailing list