[PATCH] support user-defined command aliases
John D. Mitchell
jdmitchell at gmail.com
Fri Sep 8 15:07:49 UTC 2006
On 9/8/06, TK Soh <teekaysoh at yahoo.com> wrote:
[...]
> A few notes on this patch:
> 1. command defaults (on the actual command being aliased) will be
> applied after expansion of aliases.
Cool.
> 2. you can use the hg command as alias name (like in csh/bash shell)
> No sure this is good idea though.
Yeah, I think that's a bit dangerous -- too easy to make things confusing.
> 3. No partial match on alias names when called.
Inconsistency but that's something that could be added if it's
important to people.
Personally, I don't like the partial matches. I'd much prefer to have
configurable aliases and only allow exact matches.
Rock on,
John
More information about the Mercurial
mailing list