Show More
@@ -18,9 +18,8 b' DESCRIPTION' | |||||
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 it | |
22 |
|
|
22 | manages, see the hg(1) man page. Look for the "-I" and "-X" options. | |
23 | options. |
|
|||
24 |
|
23 | |||
25 | In addition, a Mercurial configuration file can point to a set of |
|
24 | 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 |
|
25 | per-user or global ignore files. See the hgrc(5) man page for details | |
@@ -31,9 +30,9 b' SYNTAX' | |||||
31 | ------ |
|
30 | ------ | |
32 |
|
31 | |||
33 | An ignore file is a plain text file consisting of a list of patterns, |
|
32 | 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 "#" |
|
33 | with one pattern per line. Empty lines are skipped. The "#" character | |
35 |
|
|
34 | is treated as a comment character, and the "\" character is treated as | |
36 |
|
|
35 | an escape character. | |
37 |
|
36 | |||
38 | Mercurial supports several pattern syntaxes. The default syntax used |
|
37 | Mercurial supports several pattern syntaxes. The default syntax used | |
39 | is Python/Perl-style regular expressions. |
|
38 | is Python/Perl-style regular expressions. | |
@@ -54,8 +53,8 b' follow, until another syntax is selected' | |||||
54 |
|
53 | |||
55 | Neither glob nor regexp patterns are rooted. A glob-syntax pattern of |
|
54 | 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 |
|
55 | 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 |
|
56 | a regexp pattern of the form "\.c$" will do the same. To root a regexp | |
58 |
|
|
57 | pattern, start it with "^". | |
59 |
|
58 | |||
60 | EXAMPLE |
|
59 | EXAMPLE | |
61 | ------- |
|
60 | ------- |
General Comments 0
You need to be logged in to leave comments.
Login now