doc/hgrc.5.txt
changeset 3036 77637938d43d
parent 3018 b9dbbcf8a488
child 3100 09e8aecd8016
equal deleted inserted replaced
3035:1efd5a6df5a3 3036:77637938d43d
   132 
   132 
   133     [decode]
   133     [decode]
   134     # convert files to windows line ending conventions when writing
   134     # convert files to windows line ending conventions when writing
   135     # them to the working dir
   135     # them to the working dir
   136     **.txt = tempfile: unix2dos -n INFILE OUTFILE
   136     **.txt = tempfile: unix2dos -n INFILE OUTFILE
       
   137 
       
   138 defaults::
       
   139   Use the [defaults] section to define command defaults, i.e. the 
       
   140   default options/arguments to pass to the specified commands.
       
   141   
       
   142   The following example makes 'hg log' run in verbose mode, and
       
   143   'hg status' show only the modified files, by default.
       
   144   
       
   145     [defaults]
       
   146     log = -v
       
   147     status = -m
       
   148   
       
   149   The actual commands, instead of their aliases, must be used when 
       
   150   defining command defaults. The command defaults will also be
       
   151   applied to the aliases of the commands defined.
   137 
   152 
   138 email::
   153 email::
   139   Settings for extensions that send email messages.
   154   Settings for extensions that send email messages.
   140   from;;
   155   from;;
   141     Optional.  Email address to use in "From" header and SMTP envelope
   156     Optional.  Email address to use in "From" header and SMTP envelope