[RFC][PATCH] support for aliases in bazaar.conf

Martin Pool mbp at sourcefrog.net
Mon Feb 6 11:25:34 GMT 2006


On  5 Feb 2006, Erik B?gfors <zindar at gmail.com> wrote:
> Hi
> 
> I keep doing simple things that I want in bzr...
> 
> I implemented support for aliases in bazaar.conf. The following are
> some examples
> 
> [ALIASES]
> lastlog=log --line -r-10..-1
> ll=log --line -r-10..-1
> h=help
> up=pull

I think it seems like a pretty useful feature; quite a few people seem
to like to have shortcuts like these and they seem personal enough that
we probably can't please everyone with builtins.

However, I would like to see some tests that cover this: that aliases
work, that aliases with options work, that --no-aliases disables them,
etc.  I think there are some things in bzrlib.tests.test_config that you
could use for this.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060206/bc960d45/attachment.pgp 


More information about the bazaar mailing list