125 order. |
125 order. |
126 |
126 |
127 A range acts as a closed interval. This means that a range of 3:5 |
127 A range acts as a closed interval. This means that a range of 3:5 |
128 gives 3, 4 and 5. Similarly, a range of 4:2 gives 4, 3, and 2. |
128 gives 3, 4 and 5. Similarly, a range of 4:2 gives 4, 3, and 2. |
129 |
129 |
130 ENVIRONMENT VARIABLES |
|
131 --------------------- |
|
132 |
|
133 HGEDITOR:: |
|
134 This is the name of the editor to use when committing. Defaults to the |
|
135 value of EDITOR. |
|
136 |
|
137 (deprecated, use .hgrc) |
|
138 |
|
139 HGENCODING:: |
|
140 This overrides the default locale setting detected by Mercurial. |
|
141 This setting is used to convert data including usernames, |
|
142 changeset descriptions, tag names, and branches. This setting can |
|
143 be overridden with the --encoding command-line option. |
|
144 |
|
145 HGENCODINGMODE:: |
|
146 This sets Mercurial's behavior for handling unknown characters |
|
147 while transcoding user inputs. The default is "strict", which |
|
148 causes Mercurial to abort if it can't translate a character. Other |
|
149 settings include "replace", which replaces unknown characters, and |
|
150 "ignore", which drops them. This setting can be overridden with |
|
151 the --encodingmode command-line option. |
|
152 |
|
153 HGMERGE:: |
|
154 An executable to use for resolving merge conflicts. The program |
|
155 will be executed with three arguments: local file, remote file, |
|
156 ancestor file. |
|
157 |
|
158 The default program is "hgmerge", which is a shell script provided |
|
159 by Mercurial with some sensible defaults. |
|
160 |
|
161 (deprecated, use .hgrc) |
|
162 |
|
163 HGRCPATH:: |
|
164 A list of files or directories to search for hgrc files. Item |
|
165 separator is ":" on Unix, ";" on Windows. If HGRCPATH is not set, |
|
166 platform default search path is used. If empty, only .hg/hgrc of |
|
167 current repository is read. |
|
168 |
|
169 For each element in path, if a directory, all entries in directory |
|
170 ending with ".rc" are added to path. Else, element itself is |
|
171 added to path. |
|
172 |
|
173 HGUSER:: |
|
174 This is the string used for the author of a commit. |
|
175 |
|
176 (deprecated, use .hgrc) |
|
177 |
|
178 EMAIL:: |
|
179 If HGUSER is not set, this will be used as the author for a commit. |
|
180 |
|
181 LOGNAME:: |
|
182 If neither HGUSER nor EMAIL is set, LOGNAME will be used (with |
|
183 '@hostname' appended) as the author value for a commit. |
|
184 |
|
185 EDITOR:: |
|
186 This is the name of the editor used in the hgmerge script. It will be |
|
187 used for commit messages if HGEDITOR isn't set. Defaults to 'vi'. |
|
188 |
|
189 PYTHONPATH:: |
|
190 This is used by Python to find imported modules and may need to be set |
|
191 appropriately if Mercurial is not installed system-wide. |
|
192 |
|
193 FILES |
130 FILES |
194 ----- |
131 ----- |
195 .hgignore:: |
132 .hgignore:: |
196 This file contains regular expressions (one per line) that describe file |
133 This file contains regular expressions (one per line) that describe file |
197 names that should be ignored by hg. For details, see hgignore(5). |
134 names that should be ignored by hg. For details, see hgignore(5). |