[PATCH] Move alias into core

timeless timeless at gmail.com
Sat May 23 17:26:01 CDT 2009


I'll note that debian distributions typically enable random extensions
or flags. I often get accounts on other people's systems, install my
own newer mercurial and suffer from warnings or errors relating to
those systemwide settings.

On 5/22/09, Cedric Duval <cedricduval at free.fr> wrote:
> 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>

-- 
Sent from my mobile device



More information about the Mercurial-devel mailing list