# HG changeset patch # User Martin Geisler # Date 1245765032 -7200 # Node ID 992ff92a3552e2d30b3bc460da876dd6981e9f42 # Parent 75cc02e7f67221574151d8c46875d04cc81fc6a9 hgrc.5: mark more literal strings diff -r 75cc02e7f672 -r 992ff92a3552 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Tue Jun 23 15:16:19 2009 +0200 +++ b/doc/hgrc.5.txt Tue Jun 23 15:50:32 2009 +0200 @@ -75,8 +75,8 @@ SYNTAX ------ -A configuration file consists of sections, led by a "[section]" header -and followed by "name: value" entries; "name=value" is also accepted. +A configuration file consists of sections, led by a "`[section]`" header +and followed by "`name: value`" entries; "`name=value`" is also accepted. [spam] eggs=ham @@ -91,7 +91,7 @@ The optional values can contain format strings which refer to other values in the same section, or values in a special DEFAULT section. -Lines beginning with "#" or ";" are ignored and may be used to provide +Lines beginning with "`#`" or "`;`" are ignored and may be used to provide comments. SECTIONS @@ -331,16 +331,16 @@ + -- If you know that the extension is already in Python's search path, -you can give the name of the module, followed by "=", with nothing -after the "=". +you can give the name of the module, followed by "`=`", with nothing +after the "`=`". -Otherwise, give a name that you choose, followed by "=", followed by -the path to the ".py" file (including the file name extension) that +Otherwise, give a name that you choose, followed by "`=`", followed by +the path to the "`.py`" file (including the file name extension) that defines the extension. To explicitly disable an extension that is enabled in an hgrc of -broader scope, prepend its path with '!', as in -'hgext.foo = !/ext/path' or 'hgext.foo = !' when path is not +broader scope, prepend its path with "`!`", as in +"`hgext.foo = !/ext/path`" or "`hgext.foo = !`" when path is not supplied. Example for `~/.hgrc`: