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

Adrian Buehlmann adrian at cadifra.com
Wed Oct 21 22:49:01 UTC 2009


# 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.
 



More information about the Mercurial-devel mailing list