doc/hgrc.5.txt
changeset 8898 75cc02e7f672
parent 8847 7951f385fcb7
child 8899 992ff92a3552
equal deleted inserted replaced
8897:aa78a0583731 8898:75cc02e7f672
   148     bar.schemes = https
   148     bar.schemes = https
   149 
   149 
   150 Supported arguments:
   150 Supported arguments:
   151 
   151 
   152   prefix;;
   152   prefix;;
   153     Either "++\*++" or a URI prefix with or without the scheme part.
   153     Either "\*" or a URI prefix with or without the scheme part.
   154     The authentication entry with the longest matching prefix is used
   154     The authentication entry with the longest matching prefix is used
   155     (where "++*++" matches everything and counts as a match of length
   155     (where "*" matches everything and counts as a match of length
   156     1). If the prefix doesn't include a scheme, the match is performed
   156     1). If the prefix doesn't include a scheme, the match is performed
   157     against the URI with its scheme stripped as well, and the schemes
   157     against the URI with its scheme stripped as well, and the schemes
   158     argument, q.v., is then subsequently consulted.
   158     argument, q.v., is then subsequently consulted.
   159   username;;
   159   username;;
   160     Optional. Username to authenticate with. If not given, and the
   160     Optional. Username to authenticate with. If not given, and the
   187 +
   187 +
   188 --
   188 --
   189 Filters consist of a filter pattern followed by a filter command.
   189 Filters consist of a filter pattern followed by a filter command.
   190 Filter patterns are globs by default, rooted at the repository root.
   190 Filter patterns are globs by default, rooted at the repository root.
   191 For example, to match any file ending in "`.txt`" in the root
   191 For example, to match any file ending in "`.txt`" in the root
   192 directory only, use the pattern "++\*.txt++". To match any file ending
   192 directory only, use the pattern "\*.txt". To match any file ending
   193 in "`.c`" anywhere in the repository, use the pattern "++**.c++".
   193 in "`.c`" anywhere in the repository, use the pattern "**`.c`".
   194 
   194 
   195 The filter command can start with a specifier, either "pipe:" or
   195 The filter command can start with a specifier, either "pipe:" or
   196 "tempfile:". If no specifier is given, "pipe:" is used by default.
   196 "tempfile:". If no specifier is given, "pipe:" is used by default.
   197 
   197 
   198 A "pipe:" command must accept data on stdin and return the transformed
   198 A "pipe:" command must accept data on stdin and return the transformed
   758     remote command to use for clone/push/pull operations. Default is 'hg'.
   758     remote command to use for clone/push/pull operations. Default is 'hg'.
   759   report_untrusted;;
   759   report_untrusted;;
   760     Warn if a `.hg/hgrc` file is ignored due to not being owned by a
   760     Warn if a `.hg/hgrc` file is ignored due to not being owned by a
   761     trusted user or group. True or False. Default is True.
   761     trusted user or group. True or False. Default is True.
   762   slash;;
   762   slash;;
   763     Display paths using a slash ("++/++") as the path separator. This
   763     Display paths using a slash ("`/`") as the path separator. This
   764     only makes a difference on systems where the default path
   764     only makes a difference on systems where the default path
   765     separator is not the slash character (e.g. Windows uses the
   765     separator is not the slash character (e.g. Windows uses the
   766     backslash character ("++\++")).
   766     backslash character ("`\`")).
   767     Default is False.
   767     Default is False.
   768   ssh;;
   768   ssh;;
   769     command to use for SSH connections. Default is 'ssh'.
   769     command to use for SSH connections. Default is 'ssh'.
   770   strict;;
   770   strict;;
   771     Require exact command names, instead of allowing unambiguous
   771     Require exact command names, instead of allowing unambiguous