Comment 1 for bug 235432

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 235432] [NEW] precedence order for aliases

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

Gour wrote:
> Public bug reported:
>
> Hi!
>
> I'm noticing some strange behaviour how Bazaar handles user-defined
> aliases and I'm not sure whether it is a bug or feature...

It's a feature. It keeps the model simple. It allows the aliases to
vary independently. It allows the original command be given an alias,
while an alias is created for the original name.

> [...]
> Aliases: co
> See also: branch, checkouts
> 'bzr checkout' is an alias for 'bzr checkout --lightweight'.

> Maybe it's a feature, but, imho, it's not orthogonal and I'd expect that
> user-defined alias is expanded as the last. Finally, the above help file
> output implies so ;)

I don't think so. User aliases and built-in aliases are completely
different.

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

iD8DBQFIPdy+0F+nu1YWqI0RAh1kAJ9ag0Ail2ww3u7SHUwW8pGxoQQExwCffz83
iFO0EktI0SQhTZktoNW7SZ0=
=m9wj
-----END PGP SIGNATURE-----