comparison doc/hgignore.5.txt @ 9161:e8b653a4b8da

doc: fixup font markup in man pages This exposed a bug in rst2man where it neglects to escape a literal backslash. A patch has been applied upstream, but not yet packaged in, say, Debian unstable. A forward-compatible work-around has therefore been put in place.
author Martin Geisler <mg@lazybytes.net>
date Thu, 16 Jul 2009 23:25:26 +0200
parents d6eecafaf12f
children 2399362b3bb0
comparison
equal deleted inserted replaced
9160:81028d2db635 9161:e8b653a4b8da
23 23
24 An untracked file is ignored if its path relative to the repository 24 An untracked file is ignored if its path relative to the repository
25 root directory, or any prefix path of that path, is matched against 25 root directory, or any prefix path of that path, is matched against
26 any pattern in `.hgignore`. 26 any pattern in `.hgignore`.
27 27
28 For example, say we have an an untracked file, `file.c`, at 28 For example, say we have an an untracked file, ``file.c``, at
29 `a/b/file.c` inside our repository. Mercurial will ignore `file.c` if 29 ``a/b/file.c`` inside our repository. Mercurial will ignore ``file.c``
30 any pattern in `.hgignore` matches `a/b/file.c`, `a/b` or `a`. 30 if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``.
31 31
32 In addition, a Mercurial configuration file can reference a set of 32 In addition, a Mercurial configuration file can reference a set of
33 per-user or global ignore files. See the hgrc(5) man page for details 33 per-user or global ignore files. See the hgrc(5) man page for details
34 of how to configure these files. Look for the "ignore" entry in the 34 of how to configure these files. Look for the "ignore" entry in the
35 "ui" section. 35 "ui" section.