Mercurial > hg
diff doc/hgignore.5.txt @ 8777:012be286b2c4
doc: correctly escape *
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 10 Jun 2009 03:20:20 +0200 |
parents | 593d772434f7 |
children | 73728f5f69ab |
line wrap: on
line diff
--- a/doc/hgignore.5.txt Wed Jun 10 03:10:46 2009 +0200 +++ b/doc/hgignore.5.txt Wed Jun 10 03:20:20 2009 +0200 @@ -32,8 +32,8 @@ ------ An ignore file is a plain text file consisting of a list of patterns, -with one pattern per line. Empty lines are skipped. The "#" character -is treated as a comment character, and the "\" character is treated as +with one pattern per line. Empty lines are skipped. The "``#``" character +is treated as a comment character, and the "``\``" character is treated as an escape character. Mercurial supports several pattern syntaxes. The default syntax used @@ -54,9 +54,9 @@ follow, until another syntax is selected. Neither glob nor regexp patterns are rooted. A glob-syntax pattern of -the form "*.c" will match a file ending in ".c" in any directory, and -a regexp pattern of the form "\.c$" will do the same. To root a regexp -pattern, start it with "^". +the form "``*.c``" will match a file ending in "``.c``" in any directory, and +a regexp pattern of the form "``\.c$``" will do the same. To root a regexp +pattern, start it with "``^``". EXAMPLE -------