[PATCH] doc/hgrc.5.txt: deprecate [defaults]

Matt Mackall mpm at selenic.com
Wed Oct 21 22:55:22 UTC 2009


On Thu, 2009-10-22 at 00:49 +0200, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1256165214 -7200
> # Node ID 763275f50ff32d1156303dd3694d12646567108c
> # Parent  585d2ffe969bc5b8882d19e92130184edd27071f
> doc/hgrc.5.txt: deprecate [defaults]
> 
> Quoting Matt:
> 
> "Defaults are a bad idea. They are deprecated. Don't use them. Don't
> recommend them. Forget they existed. Use aliases."
> 
> in http://selenic.com/pipermail/mercurial-devel/2009-October/016095.html
> 
> diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt
> --- a/doc/hgrc.5.txt
> +++ b/doc/hgrc.5.txt
> @@ -259,6 +259,8 @@ or if you only want to translate certain
>  ``defaults``
>  """"""""""""
>  
> +(defaults are deprecated. Don't use them. Use aliases instead)
> +
>  Use the [defaults] section to define command defaults, i.e. the
>  default options/arguments to pass to the specified commands.

Queued, thanks.

-- 
http://selenic.com : development and support for Mercurial and Linux





More information about the Mercurial-devel mailing list