Mercurial > hg
comparison doc/hgignore.5.txt @ 9792:dd1a95ccbe07
doc: use titlecase in man page section titles
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 08 Nov 2009 11:46:38 +0100 |
parents | 585d2ffe969b |
children | 655ac26ad63e |
comparison
equal
deleted
inserted
replaced
9791:8bba9157b30a | 9792:dd1a95ccbe07 |
---|---|
9 :Author: Vadim Gelfer <vadim.gelfer@gmail.com> | 9 :Author: Vadim Gelfer <vadim.gelfer@gmail.com> |
10 :Organization: Mercurial | 10 :Organization: Mercurial |
11 :Manual section: 5 | 11 :Manual section: 5 |
12 :Manual group: Mercurial Manual | 12 :Manual group: Mercurial Manual |
13 | 13 |
14 SYNOPSIS | 14 Synopsis |
15 -------- | 15 -------- |
16 | 16 |
17 The Mercurial system uses a file called ``.hgignore`` in the root | 17 The Mercurial system uses a file called ``.hgignore`` in the root |
18 directory of a repository to control its behavior when it searches | 18 directory of a repository to control its behavior when it searches |
19 for files that it is not currently tracking. | 19 for files that it is not currently tracking. |
20 | 20 |
21 DESCRIPTION | 21 Description |
22 ----------- | 22 ----------- |
23 | 23 |
24 The working directory of a Mercurial repository will often contain | 24 The working directory of a Mercurial repository will often contain |
25 files that should not be tracked by Mercurial. These include backup | 25 files that should not be tracked by Mercurial. These include backup |
26 files created by editors and build products created by compilers. | 26 files created by editors and build products created by compilers. |
43 "ui" section. | 43 "ui" section. |
44 | 44 |
45 To control Mercurial's handling of files that it manages, see the | 45 To control Mercurial's handling of files that it manages, see the |
46 |hg(1)|_ man page. Look for the ``-I`` and ``-X`` options. | 46 |hg(1)|_ man page. Look for the ``-I`` and ``-X`` options. |
47 | 47 |
48 SYNTAX | 48 Syntax |
49 ------ | 49 ------ |
50 | 50 |
51 An ignore file is a plain text file consisting of a list of patterns, | 51 An ignore file is a plain text file consisting of a list of patterns, |
52 with one pattern per line. Empty lines are skipped. The ``#`` | 52 with one pattern per line. Empty lines are skipped. The ``#`` |
53 character is treated as a comment character, and the ``\`` character | 53 character is treated as a comment character, and the ``\`` character |
73 Neither glob nor regexp patterns are rooted. A glob-syntax pattern of | 73 Neither glob nor regexp patterns are rooted. A glob-syntax pattern of |
74 the form ``*.c`` will match a file ending in ``.c`` in any directory, | 74 the form ``*.c`` will match a file ending in ``.c`` in any directory, |
75 and a regexp pattern of the form ``\.c$`` will do the same. To root a | 75 and a regexp pattern of the form ``\.c$`` will do the same. To root a |
76 regexp pattern, start it with ``^``. | 76 regexp pattern, start it with ``^``. |
77 | 77 |
78 EXAMPLE | 78 Example |
79 ------- | 79 ------- |
80 | 80 |
81 Here is an example ignore file. :: | 81 Here is an example ignore file. :: |
82 | 82 |
83 # use glob syntax. | 83 # use glob syntax. |
89 | 89 |
90 # switch to regexp syntax. | 90 # switch to regexp syntax. |
91 syntax: regexp | 91 syntax: regexp |
92 ^\.pc/ | 92 ^\.pc/ |
93 | 93 |
94 AUTHOR | 94 Author |
95 ------ | 95 ------ |
96 Vadim Gelfer <vadim.gelfer@gmail.com> | 96 Vadim Gelfer <vadim.gelfer@gmail.com> |
97 | 97 |
98 Mercurial was written by Matt Mackall <mpm@selenic.com>. | 98 Mercurial was written by Matt Mackall <mpm@selenic.com>. |
99 | 99 |
100 SEE ALSO | 100 See Also |
101 -------- | 101 -------- |
102 |hg(1)|_, |hgrc(5)|_ | 102 |hg(1)|_, |hgrc(5)|_ |
103 | 103 |
104 COPYING | 104 Copying |
105 ------- | 105 ------- |
106 This manual page is copyright 2006 Vadim Gelfer. | 106 This manual page is copyright 2006 Vadim Gelfer. |
107 Mercurial is copyright 2005-2009 Matt Mackall. | 107 Mercurial is copyright 2005-2009 Matt Mackall. |
108 Free use of this software is granted under the terms of the GNU General | 108 Free use of this software is granted under the terms of the GNU General |
109 Public License version 2. | 109 Public License version 2. |