Aliases ignored when shortcuts are used
Bug #438651 reported by
Gioele Barabucci
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Aliases to standards commands like "commit" are ignored when the respective shortcuts ("co" in this case) are used.
In my aliases I have
checkout = checkout --lightweight
When I use "bzr co" the alias for "checkout" is ignored so the --lightweight option is not applied.
tags: | added: check-for-breezy |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gioele Barabucci wrote:
> Public bug reported:
>
> Aliases to standards commands like "commit" are ignored when the
> respective shortcuts ("co" in this case) are used.
>
> In my aliases I have
>
> checkout = checkout --lightweight
>
> When I use "bzr co" the alias for "checkout" is ignored so the
> --lightweight option is not applied.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>
'co' is just another alias for 'checkout'. Conceptually it is the same
as doing:
co = checkout
in your config.
So really this is 'aliases don't use other aliases'. I'm not really sure
how to respond. It would probably be nice, but I don't see it happening
in the immediate future.
In the meantime, you can just do:
co = checkout --lightweight
And things should work for you.
John
=:->
importance wishlist enigmail. mozdev. org/
status confirmed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr CHrcACgkQJdeBCY SNAAPoFQCfcpkbt WZFp2tEc4vzJlJ3 I2SP F17BfVzGQ8xsk4e 8F
6mMAnAwVt8kNCNh
=CiMw
-----END PGP SIGNATURE-----