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