Mercurial > hg-stable
changeset 8899:992ff92a3552
hgrc.5: mark more literal strings
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 23 Jun 2009 15:50:32 +0200 |
parents | 75cc02e7f672 |
children | 589a3d022079 |
files | doc/hgrc.5.txt |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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`: