RFC: alias and unalias command

Martin Pool mbp at sourcefrog.net
Tue Feb 5 08:42:43 GMT 2008


> We might want to think about combining all the configuration altering
> commands in to
>  one command (If you are really concerned about command bloat).
> eg.
> bzr config --alias x y
> bzr config --whoami xx
> bzr config --editor xx
>
> or even
> bzr-config --add alias x y
> bzr-config --set editor xx

This would be a bit like git's config system, which itself is similar
to the way things work in gdb or vim, or any number of other programs.

We have several things that basically set or get a variable for later
use, with a particular scope - globally, per location, in the branch,
etc.  So, possibly they should all be unified into one or two
commands.

So, maybe something like

  bzr set alias:unalias "alias --delete"

-- 
Martin



More information about the bazaar mailing list