100 used for commit messages if HGEDITOR isn't set. Defaults to 'vi'. |
101 used for commit messages if HGEDITOR isn't set. Defaults to 'vi'. |
101 |
102 |
102 PYTHONPATH:: |
103 PYTHONPATH:: |
103 This is used by Python to find imported modules and may need to be set |
104 This is used by Python to find imported modules and may need to be set |
104 appropriately if Mercurial is not installed system-wide. |
105 appropriately if Mercurial is not installed system-wide. |
105 ''' |
106 ''', |
|
107 |
|
108 "patterns|File Name Patterns": r''' |
|
109 Mercurial accepts several notations for identifying one or more |
|
110 files at a time. |
|
111 |
|
112 By default, Mercurial treats filenames as shell-style extended |
|
113 glob patterns. |
|
114 |
|
115 Alternate pattern notations must be specified explicitly. |
|
116 |
|
117 To use a plain path name without any pattern matching, start a |
|
118 name with "path:". These path names must match completely, from |
|
119 the root of the current repository. |
|
120 |
|
121 To use an extended glob, start a name with "glob:". Globs are |
|
122 rooted at the current directory; a glob such as "*.c" will match |
|
123 files ending in ".c" in the current directory only. |
|
124 |
|
125 The supported glob syntax extensions are "**" to match any string |
|
126 across path separators, and "{a,b}" to mean "a or b". |
|
127 |
|
128 To use a Perl/Python regular expression, start a name with "re:". |
|
129 Regexp pattern matching is anchored at the root of the repository. |
|
130 |
|
131 Plain examples: |
|
132 |
|
133 path:foo/bar a name bar in a directory named foo in the root of |
|
134 the repository |
|
135 path:path:name a file or directory named "path:name" |
|
136 |
|
137 Glob examples: |
|
138 |
|
139 glob:*.c any name ending in ".c" in the current directory |
|
140 *.c any name ending in ".c" in the current directory |
|
141 **.c any name ending in ".c" in the current directory, or |
|
142 any subdirectory |
|
143 foo/*.c any name ending in ".c" in the directory foo |
|
144 foo/**.c any name ending in ".c" in the directory foo, or any |
|
145 subdirectory |
|
146 |
|
147 Regexp examples: |
|
148 |
|
149 re:.*\.c$ any name ending in ".c", anywhere in the repository |
|
150 |
|
151 ''', |
106 } |
152 } |
107 |
153 |