changeset 8776:face0d0540e6

doc: correctly escape *
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 10 Jun 2009 03:10:46 +0200
parents 8e15f4afdf06
children 012be286b2c4
files doc/hgrc.5.txt
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/doc/hgrc.5.txt	Wed Jun 10 01:14:16 2009 +0200
+++ b/doc/hgrc.5.txt	Wed Jun 10 03:10:46 2009 +0200
@@ -19,11 +19,11 @@
 
 Mercurial reads configuration data from several files, if they exist.
 The names of these files depend on the system on which Mercurial is
-installed. `*.rc` files from a single directory are read in alphabetical
+installed. `\*.rc` files from a single directory are read in alphabetical
 order, later ones overriding earlier ones. Where multiple paths are
 given below, settings from later paths override earlier ones.
 
-(Unix) `<install-root>/etc/mercurial/hgrc.d/*.rc`::
+(Unix) `<install-root>/etc/mercurial/hgrc.d/\*.rc`::
 (Unix) `<install-root>/etc/mercurial/hgrc`::
     Per-installation configuration files, searched for in the
     directory where Mercurial is installed. `<install-root>` is the
@@ -32,7 +32,7 @@
     in `/shared/tools/etc/mercurial/hgrc`. Options in these files apply
     to all Mercurial commands executed by any user in any directory.
 
-(Unix) `/etc/mercurial/hgrc.d/*.rc`::
+(Unix) `/etc/mercurial/hgrc.d/\*.rc`::
 (Unix) `/etc/mercurial/hgrc`::
     Per-system configuration files, for the system on which Mercurial
     is running. Options in these files apply to all Mercurial commands
@@ -48,7 +48,7 @@
     which Mercurial is running. Options in these files apply to all
     Mercurial commands executed by any user in any directory. Registry
     keys contain PATH-like strings, every part of which must reference
-    a `Mercurial.ini` file or be a directory where `*.rc` files will be
+    a `Mercurial.ini` file or be a directory where `\*.rc` files will be
     read.
 
 (Unix) `$HOME/.hgrc`::
@@ -144,9 +144,9 @@
 Supported arguments:
 
   prefix;;
-    Either "`*`" or a URI prefix with or without the scheme part. The
+    Either "`\*`" or a URI prefix with or without the scheme part. The
     authentication entry with the longest matching prefix is used
-    (where "`*`" matches everything and counts as a match of length 1).
+    (where "`\*`" matches everything and counts as a match of length 1).
     If the prefix doesn't include a scheme, the match is performed
     against the URI with its scheme stripped as well, and the schemes
     argument, q.v., is then subsequently consulted.
@@ -176,8 +176,8 @@
 Filters consist of a filter pattern followed by a filter command.
 Filter patterns are globs by default, rooted at the repository root.
 For example, to match any file ending in "`.txt`" in the root
-directory only, use the pattern "`*.txt`". To match any file ending in
-"`.c`" anywhere in the repository, use the pattern "`**.c`".
+directory only, use the pattern "`\*.txt`". To match any file ending in
+"`.c`" anywhere in the repository, use the pattern "`\*\*.c`".
 
 The filter command can start with a specifier, either "pipe:" or
 "tempfile:". If no specifier is given, "pipe:" is used by default.
@@ -667,7 +667,7 @@
 --
 This section specifies what users and groups are trusted. The
 current user is always trusted. To trust everybody, list a user or a
-group with name "*".
+group with name "`\*`".
 
 users;;
   Comma-separated list of trusted users.
@@ -784,7 +784,7 @@
     Whether to allow pulling from the repository. Default is true.
   allow_push;;
     Whether to allow pushing to the repository. If empty or not set,
-    push is not allowed. If the special value "*", any remote user can
+    push is not allowed. If the special value "`\*`", any remote user can
     push, including unauthenticated users. Otherwise, the remote user
     must have been authenticated, and the authenticated user name must
     be present in this list (separated by whitespace or ","). The
@@ -797,7 +797,7 @@
     user is unauthenticated or not present in the list (separated by
     whitespace or ","), then access is denied for the user. If the
     list is empty or not set, then access is permitted to all users by
-    default. Setting allow_read to the special value "*" is equivalent
+    default. Setting allow_read to the special value "`\*`" is equivalent
     to it not being set (i.e. access is permitted to all users). The
     contents of the allow_read list are examined after the deny_read
     list.
@@ -813,7 +813,7 @@
     Defaults to ui.username or `$EMAIL` or "unknown" if unset or empty.
   deny_push;;
     Whether to deny pushing to the repository. If empty or not set,
-    push is not denied. If the special value "*", all remote users are
+    push is not denied. If the special value "`\*`", all remote users are
     denied push. Otherwise, unauthenticated users are all denied, and
     any authenticated user name present in this list (separated by
     whitespace or ",") is also denied. The contents of the deny_push
@@ -823,7 +823,7 @@
     not empty, unauthenticated users are all denied, and any
     authenticated user name present in this list (separated by
     whitespace or ",") is also denied access to the repository. If set
-    to the special value "*", all remote users are denied access
+    to the special value "`\*`", all remote users are denied access
     (rarely needed ;). If deny_read is empty or not set, the
     determination of repository access depends on the presence and
     content of the allow_read list (see description). If both