doc/hgrc.5.txt
changeset 5115 ea7b982b6c08
parent 4717 97369f6a6bb6
equal deleted inserted replaced
5097:73fdc8bd3ed8 5115:ea7b982b6c08
   135     # convert files to windows line ending conventions when writing
   135     # convert files to windows line ending conventions when writing
   136     # them to the working dir
   136     # them to the working dir
   137     **.txt = tempfile: unix2dos -n INFILE OUTFILE
   137     **.txt = tempfile: unix2dos -n INFILE OUTFILE
   138 
   138 
   139 defaults::
   139 defaults::
   140   Use the [defaults] section to define command defaults, i.e. the 
   140   Use the [defaults] section to define command defaults, i.e. the
   141   default options/arguments to pass to the specified commands.
   141   default options/arguments to pass to the specified commands.
   142   
   142 
   143   The following example makes 'hg log' run in verbose mode, and
   143   The following example makes 'hg log' run in verbose mode, and
   144   'hg status' show only the modified files, by default.
   144   'hg status' show only the modified files, by default.
   145   
   145 
   146     [defaults]
   146     [defaults]
   147     log = -v
   147     log = -v
   148     status = -m
   148     status = -m
   149   
   149 
   150   The actual commands, instead of their aliases, must be used when 
   150   The actual commands, instead of their aliases, must be used when
   151   defining command defaults. The command defaults will also be
   151   defining command defaults. The command defaults will also be
   152   applied to the aliases of the commands defined.
   152   applied to the aliases of the commands defined.
   153 
   153 
   154 diff::
   154 diff::
   155   Settings used when displaying diffs. They are all boolean and
   155   Settings used when displaying diffs. They are all boolean and