Mercurial > hg
comparison doc/hgignore.5.txt @ 6446:ee5313bc3c0c
asciidoc: consistently use 1 space after full stop
Note: the command doc strings included in hg (1) are still
inconsistent wrt to spaces after full stops.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Tue, 01 Apr 2008 14:35:35 +0200 |
parents | 63b9d2deed48 |
children | b13dae8ed779 |
comparison
equal
deleted
inserted
replaced
6445:a1db3d8b9b8a | 6446:ee5313bc3c0c |
---|---|
15 | 15 |
16 DESCRIPTION | 16 DESCRIPTION |
17 ----------- | 17 ----------- |
18 | 18 |
19 Mercurial ignores every unmanaged file that matches any pattern in an | 19 Mercurial ignores every unmanaged file that matches any pattern in an |
20 ignore file. The patterns in an ignore file do not apply to files | 20 ignore file. The patterns in an ignore file do not apply to files |
21 managed by Mercurial. To control Mercurial's handling of files that | 21 managed by Mercurial. To control Mercurial's handling of files that |
22 it manages, see the hg(1) man page. Look for the "-I" and "-X" | 22 it manages, see the hg(1) man page. Look for the "-I" and "-X" |
23 options. | 23 options. |
24 | 24 |
25 In addition, a Mercurial configuration file can point to a set of | 25 In addition, a Mercurial configuration file can point to a set of |
26 per-user or global ignore files. See the hgrc(5) man page for details | 26 per-user or global ignore files. See the hgrc(5) man page for details |
27 of how to configure these files. Look for the "ignore" entry in the | 27 of how to configure these files. Look for the "ignore" entry in the |
28 "ui" section. | 28 "ui" section. |
29 | 29 |
30 SYNTAX | 30 SYNTAX |
31 ------ | 31 ------ |
32 | 32 |
33 An ignore file is a plain text file consisting of a list of patterns, | 33 An ignore file is a plain text file consisting of a list of patterns, |
34 with one pattern per line. Empty lines are skipped. The "#" | 34 with one pattern per line. Empty lines are skipped. The "#" |
35 character is treated as a comment character, and the "\" character is | 35 character is treated as a comment character, and the "\" character is |
36 treated as an escape character. | 36 treated as an escape character. |
37 | 37 |
38 Mercurial supports several pattern syntaxes. The default syntax used | 38 Mercurial supports several pattern syntaxes. The default syntax used |
39 is Python/Perl-style regular expressions. | 39 is Python/Perl-style regular expressions. |
40 | 40 |
41 To change the syntax used, use a line of the following form: | 41 To change the syntax used, use a line of the following form: |
42 | 42 |
43 syntax: NAME | 43 syntax: NAME |
50 Shell-style glob. | 50 Shell-style glob. |
51 | 51 |
52 The chosen syntax stays in effect when parsing all patterns that | 52 The chosen syntax stays in effect when parsing all patterns that |
53 follow, until another syntax is selected. | 53 follow, until another syntax is selected. |
54 | 54 |
55 Neither glob nor regexp patterns are rooted. A glob-syntax pattern of | 55 Neither glob nor regexp patterns are rooted. A glob-syntax pattern of |
56 the form "*.c" will match a file ending in ".c" in any directory, and | 56 the form "*.c" will match a file ending in ".c" in any directory, and |
57 a regexp pattern of the form "\.c$" will do the same. To root a | 57 a regexp pattern of the form "\.c$" will do the same. To root a |
58 regexp pattern, start it with "^". | 58 regexp pattern, start it with "^". |
59 | 59 |
60 EXAMPLE | 60 EXAMPLE |
61 ------- | 61 ------- |
62 | 62 |