# HG changeset patch # User TK Soh # Date 2006-09-02 12:24:53 # Node ID 77637938d43df744cc0801349ce4e008d2ac057f # Parent 1efd5a6df5a3e892c687a1116064bb1e6796a1ef add document on command defaults diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt --- a/doc/hgrc.5.txt +++ b/doc/hgrc.5.txt @@ -135,6 +135,21 @@ decode/encode:: # them to the working dir **.txt = tempfile: unix2dos -n INFILE OUTFILE +defaults:: + Use the [defaults] section to define command defaults, i.e. the + default options/arguments to pass to the specified commands. + + The following example makes 'hg log' run in verbose mode, and + 'hg status' show only the modified files, by default. + + [defaults] + log = -v + status = -m + + The actual commands, instead of their aliases, must be used when + defining command defaults. The command defaults will also be + applied to the aliases of the commands defined. + email:: Settings for extensions that send email messages. from;;