Mercurial > hg-stable
changeset 9194:0de7cf8db5fd
hgignore.5: mark file names and cmdline options as literal text
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 21 Jul 2009 12:19:53 +0200 |
parents | 52de439b8d99 |
children | 8c719222ddd7 |
files | doc/hgignore.5.txt |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/hgignore.5.txt Tue Jul 21 12:09:32 2009 +0200 +++ b/doc/hgignore.5.txt Tue Jul 21 12:19:53 2009 +0200 @@ -24,14 +24,14 @@ The working directory of a Mercurial repository will often contain files that should not be tracked by Mercurial. These include backup files created by editors and build products created by compilers. -These files can be ignored by listing them in a `.hgignore` file in -the root of the working directory. The `.hgignore` file must be +These files can be ignored by listing them in a ``.hgignore`` file in +the root of the working directory. The ``.hgignore`` file must be created manually. It is typically put under version control, so that the settings will propagate to other repositories with push and pull. An untracked file is ignored if its path relative to the repository root directory, or any prefix path of that path, is matched against -any pattern in `.hgignore`. +any pattern in ``.hgignore``. For example, say we have an an untracked file, ``file.c``, at ``a/b/file.c`` inside our repository. Mercurial will ignore ``file.c`` @@ -43,7 +43,7 @@ "ui" section. To control Mercurial's handling of files that it manages, see the -|hg(1)|_ man page. Look for the "-I" and "-X" options. +|hg(1)|_ man page. Look for the "``-I``" and "``-X``" options. SYNTAX ------