[PATCH] Move alias into core

Cedric Duval cedricduval at free.fr
Fri May 22 03:57:45 CDT 2009


Matt Mackall wrote:
> And it's still a bad idea in the [defaults] section, so we're going to
> deprecate that functionality.

Given the existence of that section I supposed it might in some occasions
find a use for something or someone, but reviewing the list of options,
I'm indeed having a hard time finding much suitable and harmless use for
it. Perhaps with options akin to --encoding/--encodingmode or --git, but
this is moot since those have already alternate ways of being specified.

> It's a bad idea because tools (and users) expecting one standard
> behavior get another with no obvious indication of why and no easy way
> to disable it.

Yes. I dislike it enough when I stumble upon a system where all standard
commands have been aliased, like rm to rm -i. Though I don't know how
much the parallel is valid, as in hg users' case, most likely they are
the ones who altered the behavior, so arguably can claim to be surprised.
But tools do. I don't expect much opposition to deprecating that feature. :)

-- 
Cédric


More information about the Mercurial-devel mailing list