##// END OF EJS Templates
doc/hgrc.5.txt: add anchors for sections...
Adrian Buehlmann <adrian at cadifra.com> -
r6614:944a292d default
parent child Browse files
Show More
@@ -1,701 +1,717 b''
1 HGRC(5)
1 HGRC(5)
2 =======
2 =======
3 Bryan O'Sullivan <bos@serpentine.com>
3 Bryan O'Sullivan <bos@serpentine.com>
4
4
5 NAME
5 NAME
6 ----
6 ----
7 hgrc - configuration files for Mercurial
7 hgrc - configuration files for Mercurial
8
8
9 SYNOPSIS
9 SYNOPSIS
10 --------
10 --------
11
11
12 The Mercurial system uses a set of configuration files to control
12 The Mercurial system uses a set of configuration files to control
13 aspects of its behaviour.
13 aspects of its behaviour.
14
14
15 FILES
15 FILES
16 -----
16 -----
17
17
18 Mercurial reads configuration data from several files, if they exist.
18 Mercurial reads configuration data from several files, if they exist.
19 The names of these files depend on the system on which Mercurial is
19 The names of these files depend on the system on which Mercurial is
20 installed. *.rc files from a single directory are read in
20 installed. *.rc files from a single directory are read in
21 alphabetical order, later ones overriding earlier ones. Where
21 alphabetical order, later ones overriding earlier ones. Where
22 multiple paths are given below, settings from later paths override
22 multiple paths are given below, settings from later paths override
23 earlier ones.
23 earlier ones.
24
24
25 (Unix) <install-root>/etc/mercurial/hgrc.d/*.rc::
25 (Unix) <install-root>/etc/mercurial/hgrc.d/*.rc::
26 (Unix) <install-root>/etc/mercurial/hgrc::
26 (Unix) <install-root>/etc/mercurial/hgrc::
27 Per-installation configuration files, searched for in the
27 Per-installation configuration files, searched for in the
28 directory where Mercurial is installed. <install-root> is the
28 directory where Mercurial is installed. <install-root> is the
29 parent directory of the hg executable (or symlink) being run.
29 parent directory of the hg executable (or symlink) being run.
30 For example, if installed in /shared/tools/bin/hg, Mercurial will
30 For example, if installed in /shared/tools/bin/hg, Mercurial will
31 look in /shared/tools/etc/mercurial/hgrc. Options in these files
31 look in /shared/tools/etc/mercurial/hgrc. Options in these files
32 apply to all Mercurial commands executed by any user in any
32 apply to all Mercurial commands executed by any user in any
33 directory.
33 directory.
34
34
35 (Unix) /etc/mercurial/hgrc.d/*.rc::
35 (Unix) /etc/mercurial/hgrc.d/*.rc::
36 (Unix) /etc/mercurial/hgrc::
36 (Unix) /etc/mercurial/hgrc::
37 Per-system configuration files, for the system on which Mercurial
37 Per-system configuration files, for the system on which Mercurial
38 is running. Options in these files apply to all Mercurial
38 is running. Options in these files apply to all Mercurial
39 commands executed by any user in any directory. Options in these
39 commands executed by any user in any directory. Options in these
40 files override per-installation options.
40 files override per-installation options.
41
41
42 (Windows) <install-dir>\Mercurial.ini::
42 (Windows) <install-dir>\Mercurial.ini::
43 or else::
43 or else::
44 (Windows) HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial::
44 (Windows) HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial::
45 or else::
45 or else::
46 (Windows) C:\Mercurial\Mercurial.ini::
46 (Windows) C:\Mercurial\Mercurial.ini::
47 Per-installation/system configuration files, for the system on
47 Per-installation/system configuration files, for the system on
48 which Mercurial is running. Options in these files apply to all
48 which Mercurial is running. Options in these files apply to all
49 Mercurial commands executed by any user in any directory.
49 Mercurial commands executed by any user in any directory.
50 Registry keys contain PATH-like strings, every part of which must
50 Registry keys contain PATH-like strings, every part of which must
51 reference a Mercurial.ini file or be a directory where *.rc files
51 reference a Mercurial.ini file or be a directory where *.rc files
52 will be read.
52 will be read.
53
53
54 (Unix) $HOME/.hgrc::
54 (Unix) $HOME/.hgrc::
55 (Windows) %HOME%\Mercurial.ini::
55 (Windows) %HOME%\Mercurial.ini::
56 (Windows) %HOME%\.hgrc::
56 (Windows) %HOME%\.hgrc::
57 (Windows) %USERPROFILE%\Mercurial.ini::
57 (Windows) %USERPROFILE%\Mercurial.ini::
58 (Windows) %USERPROFILE%\.hgrc::
58 (Windows) %USERPROFILE%\.hgrc::
59 Per-user configuration file(s), for the user running Mercurial.
59 Per-user configuration file(s), for the user running Mercurial.
60 On Windows 9x, %HOME% is replaced by %APPDATA%.
60 On Windows 9x, %HOME% is replaced by %APPDATA%.
61 Options in these files apply to all Mercurial commands executed
61 Options in these files apply to all Mercurial commands executed
62 by this user in any directory. Options in thes files override
62 by this user in any directory. Options in thes files override
63 per-installation and per-system options.
63 per-installation and per-system options.
64
64
65 (Unix, Windows) <repo>/.hg/hgrc::
65 (Unix, Windows) <repo>/.hg/hgrc::
66 Per-repository configuration options that only apply in a
66 Per-repository configuration options that only apply in a
67 particular repository. This file is not version-controlled, and
67 particular repository. This file is not version-controlled, and
68 will not get transferred during a "clone" operation. Options in
68 will not get transferred during a "clone" operation. Options in
69 this file override options in all other configuration files.
69 this file override options in all other configuration files.
70 On Unix, most of this file will be ignored if it doesn't belong
70 On Unix, most of this file will be ignored if it doesn't belong
71 to a trusted user or to a trusted group. See the documentation
71 to a trusted user or to a trusted group. See the documentation
72 for the trusted section below for more details.
72 for the trusted section below for more details.
73
73
74 SYNTAX
74 SYNTAX
75 ------
75 ------
76
76
77 A configuration file consists of sections, led by a "[section]" header
77 A configuration file consists of sections, led by a "[section]" header
78 and followed by "name: value" entries; "name=value" is also accepted.
78 and followed by "name: value" entries; "name=value" is also accepted.
79
79
80 [spam]
80 [spam]
81 eggs=ham
81 eggs=ham
82 green=
82 green=
83 eggs
83 eggs
84
84
85 Each line contains one entry. If the lines that follow are indented,
85 Each line contains one entry. If the lines that follow are indented,
86 they are treated as continuations of that entry.
86 they are treated as continuations of that entry.
87
87
88 Leading whitespace is removed from values. Empty lines are skipped.
88 Leading whitespace is removed from values. Empty lines are skipped.
89
89
90 The optional values can contain format strings which refer to other
90 The optional values can contain format strings which refer to other
91 values in the same section, or values in a special DEFAULT section.
91 values in the same section, or values in a special DEFAULT section.
92
92
93 Lines beginning with "#" or ";" are ignored and may be used to provide
93 Lines beginning with "#" or ";" are ignored and may be used to provide
94 comments.
94 comments.
95
95
96 SECTIONS
96 SECTIONS
97 --------
97 --------
98
98
99 This section describes the different sections that may appear in a
99 This section describes the different sections that may appear in a
100 Mercurial "hgrc" file, the purpose of each section, its possible
100 Mercurial "hgrc" file, the purpose of each section, its possible
101 keys, and their possible values.
101 keys, and their possible values.
102
102
103 [[decode]]
103 decode/encode::
104 decode/encode::
104 Filters for transforming files on checkout/checkin. This would
105 Filters for transforming files on checkout/checkin. This would
105 typically be used for newline processing or other
106 typically be used for newline processing or other
106 localization/canonicalization of files.
107 localization/canonicalization of files.
107
108
108 Filters consist of a filter pattern followed by a filter command.
109 Filters consist of a filter pattern followed by a filter command.
109 Filter patterns are globs by default, rooted at the repository
110 Filter patterns are globs by default, rooted at the repository
110 root. For example, to match any file ending in ".txt" in the root
111 root. For example, to match any file ending in ".txt" in the root
111 directory only, use the pattern "*.txt". To match any file ending
112 directory only, use the pattern "*.txt". To match any file ending
112 in ".c" anywhere in the repository, use the pattern "**.c".
113 in ".c" anywhere in the repository, use the pattern "**.c".
113
114
114 The filter command can start with a specifier, either "pipe:" or
115 The filter command can start with a specifier, either "pipe:" or
115 "tempfile:". If no specifier is given, "pipe:" is used by default.
116 "tempfile:". If no specifier is given, "pipe:" is used by default.
116
117
117 A "pipe:" command must accept data on stdin and return the
118 A "pipe:" command must accept data on stdin and return the
118 transformed data on stdout.
119 transformed data on stdout.
119
120
120 Pipe example:
121 Pipe example:
121
122
122 [encode]
123 [encode]
123 # uncompress gzip files on checkin to improve delta compression
124 # uncompress gzip files on checkin to improve delta compression
124 # note: not necessarily a good idea, just an example
125 # note: not necessarily a good idea, just an example
125 *.gz = pipe: gunzip
126 *.gz = pipe: gunzip
126
127
127 [decode]
128 [decode]
128 # recompress gzip files when writing them to the working dir (we
129 # recompress gzip files when writing them to the working dir (we
129 # can safely omit "pipe:", because it's the default)
130 # can safely omit "pipe:", because it's the default)
130 *.gz = gzip
131 *.gz = gzip
131
132
132 A "tempfile:" command is a template. The string INFILE is replaced
133 A "tempfile:" command is a template. The string INFILE is replaced
133 with the name of a temporary file that contains the data to be
134 with the name of a temporary file that contains the data to be
134 filtered by the command. The string OUTFILE is replaced with the
135 filtered by the command. The string OUTFILE is replaced with the
135 name of an empty temporary file, where the filtered data must be
136 name of an empty temporary file, where the filtered data must be
136 written by the command.
137 written by the command.
137
138
138 NOTE: the tempfile mechanism is recommended for Windows systems,
139 NOTE: the tempfile mechanism is recommended for Windows systems,
139 where the standard shell I/O redirection operators often have
140 where the standard shell I/O redirection operators often have
140 strange effects and may corrupt the contents of your files.
141 strange effects and may corrupt the contents of your files.
141
142
142 The most common usage is for LF <-> CRLF translation on Windows.
143 The most common usage is for LF <-> CRLF translation on Windows.
143 For this, use the "smart" convertors which check for binary files:
144 For this, use the "smart" convertors which check for binary files:
144
145
145 [extensions]
146 [extensions]
146 hgext.win32text =
147 hgext.win32text =
147 [encode]
148 [encode]
148 ** = cleverencode:
149 ** = cleverencode:
149 [decode]
150 [decode]
150 ** = cleverdecode:
151 ** = cleverdecode:
151
152
152 or if you only want to translate certain files:
153 or if you only want to translate certain files:
153
154
154 [extensions]
155 [extensions]
155 hgext.win32text =
156 hgext.win32text =
156 [encode]
157 [encode]
157 **.txt = dumbencode:
158 **.txt = dumbencode:
158 [decode]
159 [decode]
159 **.txt = dumbdecode:
160 **.txt = dumbdecode:
160
161
162 [[defaults]]
161 defaults::
163 defaults::
162 Use the [defaults] section to define command defaults, i.e. the
164 Use the [defaults] section to define command defaults, i.e. the
163 default options/arguments to pass to the specified commands.
165 default options/arguments to pass to the specified commands.
164
166
165 The following example makes 'hg log' run in verbose mode, and
167 The following example makes 'hg log' run in verbose mode, and
166 'hg status' show only the modified files, by default.
168 'hg status' show only the modified files, by default.
167
169
168 [defaults]
170 [defaults]
169 log = -v
171 log = -v
170 status = -m
172 status = -m
171
173
172 The actual commands, instead of their aliases, must be used when
174 The actual commands, instead of their aliases, must be used when
173 defining command defaults. The command defaults will also be
175 defining command defaults. The command defaults will also be
174 applied to the aliases of the commands defined.
176 applied to the aliases of the commands defined.
175
177
178 [[diff]]
176 diff::
179 diff::
177 Settings used when displaying diffs. They are all boolean and
180 Settings used when displaying diffs. They are all boolean and
178 defaults to False.
181 defaults to False.
179 git;;
182 git;;
180 Use git extended diff format.
183 Use git extended diff format.
181 nodates;;
184 nodates;;
182 Don't include dates in diff headers.
185 Don't include dates in diff headers.
183 showfunc;;
186 showfunc;;
184 Show which function each change is in.
187 Show which function each change is in.
185 ignorews;;
188 ignorews;;
186 Ignore white space when comparing lines.
189 Ignore white space when comparing lines.
187 ignorewsamount;;
190 ignorewsamount;;
188 Ignore changes in the amount of white space.
191 Ignore changes in the amount of white space.
189 ignoreblanklines;;
192 ignoreblanklines;;
190 Ignore changes whose lines are all blank.
193 Ignore changes whose lines are all blank.
191
194
195 [[email]]
192 email::
196 email::
193 Settings for extensions that send email messages.
197 Settings for extensions that send email messages.
194 from;;
198 from;;
195 Optional. Email address to use in "From" header and SMTP envelope
199 Optional. Email address to use in "From" header and SMTP envelope
196 of outgoing messages.
200 of outgoing messages.
197 to;;
201 to;;
198 Optional. Comma-separated list of recipients' email addresses.
202 Optional. Comma-separated list of recipients' email addresses.
199 cc;;
203 cc;;
200 Optional. Comma-separated list of carbon copy recipients'
204 Optional. Comma-separated list of carbon copy recipients'
201 email addresses.
205 email addresses.
202 bcc;;
206 bcc;;
203 Optional. Comma-separated list of blind carbon copy
207 Optional. Comma-separated list of blind carbon copy
204 recipients' email addresses. Cannot be set interactively.
208 recipients' email addresses. Cannot be set interactively.
205 method;;
209 method;;
206 Optional. Method to use to send email messages. If value is
210 Optional. Method to use to send email messages. If value is
207 "smtp" (default), use SMTP (see section "[smtp]" for
211 "smtp" (default), use SMTP (see section "[smtp]" for
208 configuration). Otherwise, use as name of program to run that
212 configuration). Otherwise, use as name of program to run that
209 acts like sendmail (takes "-f" option for sender, list of
213 acts like sendmail (takes "-f" option for sender, list of
210 recipients on command line, message on stdin). Normally, setting
214 recipients on command line, message on stdin). Normally, setting
211 this to "sendmail" or "/usr/sbin/sendmail" is enough to use
215 this to "sendmail" or "/usr/sbin/sendmail" is enough to use
212 sendmail to send messages.
216 sendmail to send messages.
213
217
214 Email example:
218 Email example:
215
219
216 [email]
220 [email]
217 from = Joseph User <joe.user@example.com>
221 from = Joseph User <joe.user@example.com>
218 method = /usr/sbin/sendmail
222 method = /usr/sbin/sendmail
219
223
224 [[extensions]]
220 extensions::
225 extensions::
221 Mercurial has an extension mechanism for adding new features. To
226 Mercurial has an extension mechanism for adding new features. To
222 enable an extension, create an entry for it in this section.
227 enable an extension, create an entry for it in this section.
223
228
224 If you know that the extension is already in Python's search path,
229 If you know that the extension is already in Python's search path,
225 you can give the name of the module, followed by "=", with nothing
230 you can give the name of the module, followed by "=", with nothing
226 after the "=".
231 after the "=".
227
232
228 Otherwise, give a name that you choose, followed by "=", followed by
233 Otherwise, give a name that you choose, followed by "=", followed by
229 the path to the ".py" file (including the file name extension) that
234 the path to the ".py" file (including the file name extension) that
230 defines the extension.
235 defines the extension.
231
236
232 To explicitly disable an extension that is enabled in an hgrc of
237 To explicitly disable an extension that is enabled in an hgrc of
233 broader scope, prepend its path with '!', as in
238 broader scope, prepend its path with '!', as in
234 'hgext.foo = !/ext/path' or 'hgext.foo = !' when no path is supplied.
239 'hgext.foo = !/ext/path' or 'hgext.foo = !' when no path is supplied.
235
240
236 Example for ~/.hgrc:
241 Example for ~/.hgrc:
237
242
238 [extensions]
243 [extensions]
239 # (the mq extension will get loaded from mercurial's path)
244 # (the mq extension will get loaded from mercurial's path)
240 hgext.mq =
245 hgext.mq =
241 # (this extension will get loaded from the file specified)
246 # (this extension will get loaded from the file specified)
242 myfeature = ~/.hgext/myfeature.py
247 myfeature = ~/.hgext/myfeature.py
243
248
249 [[format]]
244 format::
250 format::
245
251
246 usestore;;
252 usestore;;
247 Enable or disable the "store" repository format which improves
253 Enable or disable the "store" repository format which improves
248 compatibility with systems that fold case or otherwise mangle
254 compatibility with systems that fold case or otherwise mangle
249 filenames. Enabled by default. Disabling this option will allow
255 filenames. Enabled by default. Disabling this option will allow
250 you to store longer filenames in some situations at the expense of
256 you to store longer filenames in some situations at the expense of
251 compatibility.
257 compatibility.
252
258
259 [[merge-patterns]]
253 merge-patterns::
260 merge-patterns::
254 This section specifies merge tools to associate with particular file
261 This section specifies merge tools to associate with particular file
255 patterns. Tools matched here will take precedence over the default
262 patterns. Tools matched here will take precedence over the default
256 merge tool. Patterns are globs by default, rooted at the repository root.
263 merge tool. Patterns are globs by default, rooted at the repository root.
257
264
258 Example:
265 Example:
259
266
260 [merge-patterns]
267 [merge-patterns]
261 **.c = kdiff3
268 **.c = kdiff3
262 **.jpg = myimgmerge
269 **.jpg = myimgmerge
263
270
271 [[merge-tools]]
264 merge-tools::
272 merge-tools::
265 This section configures external merge tools to use for file-level
273 This section configures external merge tools to use for file-level
266 merges.
274 merges.
267
275
268 Example ~/.hgrc:
276 Example ~/.hgrc:
269
277
270 [merge-tools]
278 [merge-tools]
271 # Override stock tool location
279 # Override stock tool location
272 kdiff3.executable = ~/bin/kdiff3
280 kdiff3.executable = ~/bin/kdiff3
273 # Specify command line
281 # Specify command line
274 kdiff3.args = $base $local $other -o $output
282 kdiff3.args = $base $local $other -o $output
275 # Give higher priority
283 # Give higher priority
276 kdiff3.priority = 1
284 kdiff3.priority = 1
277
285
278 # Define new tool
286 # Define new tool
279 myHtmlTool.args = -m $local $other $base $output
287 myHtmlTool.args = -m $local $other $base $output
280 myHtmlTool.regkey = Software\FooSoftware\HtmlMerge
288 myHtmlTool.regkey = Software\FooSoftware\HtmlMerge
281 myHtmlTool.priority = 1
289 myHtmlTool.priority = 1
282
290
283 Supported arguments:
291 Supported arguments:
284
292
285 priority;;
293 priority;;
286 The priority in which to evaluate this tool.
294 The priority in which to evaluate this tool.
287 Default: 0.
295 Default: 0.
288 executable;;
296 executable;;
289 Either just the name of the executable or its pathname.
297 Either just the name of the executable or its pathname.
290 Default: the tool name.
298 Default: the tool name.
291 args;;
299 args;;
292 The arguments to pass to the tool executable. You can refer to the files
300 The arguments to pass to the tool executable. You can refer to the files
293 being merged as well as the output file through these variables: $base,
301 being merged as well as the output file through these variables: $base,
294 $local, $other, $output.
302 $local, $other, $output.
295 Default: $local $base $other
303 Default: $local $base $other
296 premerge;;
304 premerge;;
297 Attempt to run internal non-interactive 3-way merge tool before
305 Attempt to run internal non-interactive 3-way merge tool before
298 launching external tool.
306 launching external tool.
299 Default: True
307 Default: True
300 binary;;
308 binary;;
301 This tool can merge binary files. Defaults to False, unless tool
309 This tool can merge binary files. Defaults to False, unless tool
302 was selected by file pattern match.
310 was selected by file pattern match.
303 symlink;;
311 symlink;;
304 This tool can merge symlinks. Defaults to False, even if tool was
312 This tool can merge symlinks. Defaults to False, even if tool was
305 selected by file pattern match.
313 selected by file pattern match.
306 checkconflicts;;
314 checkconflicts;;
307 Check whether there are conflicts even though the tool reported
315 Check whether there are conflicts even though the tool reported
308 success.
316 success.
309 Default: False
317 Default: False
310 checkchanged;;
318 checkchanged;;
311 Check whether outputs were written even though the tool reported
319 Check whether outputs were written even though the tool reported
312 success.
320 success.
313 Default: False
321 Default: False
314 fixeol;;
322 fixeol;;
315 Attempt to fix up EOL changes caused by the merge tool.
323 Attempt to fix up EOL changes caused by the merge tool.
316 Default: False
324 Default: False
317 gui;;
325 gui;;
318 This tool requires a graphical interface to run. Default: False
326 This tool requires a graphical interface to run. Default: False
319 regkey;;
327 regkey;;
320 Windows registry key which describes install location of this tool.
328 Windows registry key which describes install location of this tool.
321 Mercurial will search for this key first under HKEY_CURRENT_USER and
329 Mercurial will search for this key first under HKEY_CURRENT_USER and
322 then under HKEY_LOCAL_MACHINE. Default: None
330 then under HKEY_LOCAL_MACHINE. Default: None
323 regname;;
331 regname;;
324 Name of value to read from specified registry key. Defaults to the
332 Name of value to read from specified registry key. Defaults to the
325 unnamed (default) value.
333 unnamed (default) value.
326 regappend;;
334 regappend;;
327 String to append to the value read from the registry, typically the
335 String to append to the value read from the registry, typically the
328 executable name of the tool. Default: None
336 executable name of the tool. Default: None
329
337
338 [[hooks]]
330 hooks::
339 hooks::
331 Commands or Python functions that get automatically executed by
340 Commands or Python functions that get automatically executed by
332 various actions such as starting or finishing a commit. Multiple
341 various actions such as starting or finishing a commit. Multiple
333 hooks can be run for the same action by appending a suffix to the
342 hooks can be run for the same action by appending a suffix to the
334 action. Overriding a site-wide hook can be done by changing its
343 action. Overriding a site-wide hook can be done by changing its
335 value or setting it to an empty string.
344 value or setting it to an empty string.
336
345
337 Example .hg/hgrc:
346 Example .hg/hgrc:
338
347
339 [hooks]
348 [hooks]
340 # do not use the site-wide hook
349 # do not use the site-wide hook
341 incoming =
350 incoming =
342 incoming.email = /my/email/hook
351 incoming.email = /my/email/hook
343 incoming.autobuild = /my/build/hook
352 incoming.autobuild = /my/build/hook
344
353
345 Most hooks are run with environment variables set that give added
354 Most hooks are run with environment variables set that give added
346 useful information. For each hook below, the environment variables
355 useful information. For each hook below, the environment variables
347 it is passed are listed with names of the form "$HG_foo".
356 it is passed are listed with names of the form "$HG_foo".
348
357
349 changegroup;;
358 changegroup;;
350 Run after a changegroup has been added via push, pull or
359 Run after a changegroup has been added via push, pull or
351 unbundle. ID of the first new changeset is in $HG_NODE. URL from
360 unbundle. ID of the first new changeset is in $HG_NODE. URL from
352 which changes came is in $HG_URL.
361 which changes came is in $HG_URL.
353 commit;;
362 commit;;
354 Run after a changeset has been created in the local repository.
363 Run after a changeset has been created in the local repository.
355 ID of the newly created changeset is in $HG_NODE. Parent
364 ID of the newly created changeset is in $HG_NODE. Parent
356 changeset IDs are in $HG_PARENT1 and $HG_PARENT2.
365 changeset IDs are in $HG_PARENT1 and $HG_PARENT2.
357 incoming;;
366 incoming;;
358 Run after a changeset has been pulled, pushed, or unbundled into
367 Run after a changeset has been pulled, pushed, or unbundled into
359 the local repository. The ID of the newly arrived changeset is in
368 the local repository. The ID of the newly arrived changeset is in
360 $HG_NODE. URL that was source of changes came is in $HG_URL.
369 $HG_NODE. URL that was source of changes came is in $HG_URL.
361 outgoing;;
370 outgoing;;
362 Run after sending changes from local repository to another. ID of
371 Run after sending changes from local repository to another. ID of
363 first changeset sent is in $HG_NODE. Source of operation is in
372 first changeset sent is in $HG_NODE. Source of operation is in
364 $HG_SOURCE; see "preoutgoing" hook for description.
373 $HG_SOURCE; see "preoutgoing" hook for description.
365 post-<command>;;
374 post-<command>;;
366 Run after successful invocations of the associated command. The
375 Run after successful invocations of the associated command. The
367 contents of the command line are passed as $HG_ARGS and the result
376 contents of the command line are passed as $HG_ARGS and the result
368 code in $HG_RESULT. Hook failure is ignored.
377 code in $HG_RESULT. Hook failure is ignored.
369 pre-<command>;;
378 pre-<command>;;
370 Run before executing the associated command. The contents of the
379 Run before executing the associated command. The contents of the
371 command line are passed as $HG_ARGS. If the hook returns failure,
380 command line are passed as $HG_ARGS. If the hook returns failure,
372 the command doesn't execute and Mercurial returns the failure code.
381 the command doesn't execute and Mercurial returns the failure code.
373 prechangegroup;;
382 prechangegroup;;
374 Run before a changegroup is added via push, pull or unbundle.
383 Run before a changegroup is added via push, pull or unbundle.
375 Exit status 0 allows the changegroup to proceed. Non-zero status
384 Exit status 0 allows the changegroup to proceed. Non-zero status
376 will cause the push, pull or unbundle to fail. URL from which
385 will cause the push, pull or unbundle to fail. URL from which
377 changes will come is in $HG_URL.
386 changes will come is in $HG_URL.
378 precommit;;
387 precommit;;
379 Run before starting a local commit. Exit status 0 allows the
388 Run before starting a local commit. Exit status 0 allows the
380 commit to proceed. Non-zero status will cause the commit to fail.
389 commit to proceed. Non-zero status will cause the commit to fail.
381 Parent changeset IDs are in $HG_PARENT1 and $HG_PARENT2.
390 Parent changeset IDs are in $HG_PARENT1 and $HG_PARENT2.
382 preoutgoing;;
391 preoutgoing;;
383 Run before collecting changes to send from the local repository to
392 Run before collecting changes to send from the local repository to
384 another. Non-zero status will cause failure. This lets you
393 another. Non-zero status will cause failure. This lets you
385 prevent pull over http or ssh. Also prevents against local pull,
394 prevent pull over http or ssh. Also prevents against local pull,
386 push (outbound) or bundle commands, but not effective, since you
395 push (outbound) or bundle commands, but not effective, since you
387 can just copy files instead then. Source of operation is in
396 can just copy files instead then. Source of operation is in
388 $HG_SOURCE. If "serve", operation is happening on behalf of
397 $HG_SOURCE. If "serve", operation is happening on behalf of
389 remote ssh or http repository. If "push", "pull" or "bundle",
398 remote ssh or http repository. If "push", "pull" or "bundle",
390 operation is happening on behalf of repository on same system.
399 operation is happening on behalf of repository on same system.
391 pretag;;
400 pretag;;
392 Run before creating a tag. Exit status 0 allows the tag to be
401 Run before creating a tag. Exit status 0 allows the tag to be
393 created. Non-zero status will cause the tag to fail. ID of
402 created. Non-zero status will cause the tag to fail. ID of
394 changeset to tag is in $HG_NODE. Name of tag is in $HG_TAG. Tag
403 changeset to tag is in $HG_NODE. Name of tag is in $HG_TAG. Tag
395 is local if $HG_LOCAL=1, in repo if $HG_LOCAL=0.
404 is local if $HG_LOCAL=1, in repo if $HG_LOCAL=0.
396 pretxnchangegroup;;
405 pretxnchangegroup;;
397 Run after a changegroup has been added via push, pull or unbundle,
406 Run after a changegroup has been added via push, pull or unbundle,
398 but before the transaction has been committed. Changegroup is
407 but before the transaction has been committed. Changegroup is
399 visible to hook program. This lets you validate incoming changes
408 visible to hook program. This lets you validate incoming changes
400 before accepting them. Passed the ID of the first new changeset
409 before accepting them. Passed the ID of the first new changeset
401 in $HG_NODE. Exit status 0 allows the transaction to commit.
410 in $HG_NODE. Exit status 0 allows the transaction to commit.
402 Non-zero status will cause the transaction to be rolled back and
411 Non-zero status will cause the transaction to be rolled back and
403 the push, pull or unbundle will fail. URL that was source of
412 the push, pull or unbundle will fail. URL that was source of
404 changes is in $HG_URL.
413 changes is in $HG_URL.
405 pretxncommit;;
414 pretxncommit;;
406 Run after a changeset has been created but the transaction not yet
415 Run after a changeset has been created but the transaction not yet
407 committed. Changeset is visible to hook program. This lets you
416 committed. Changeset is visible to hook program. This lets you
408 validate commit message and changes. Exit status 0 allows the
417 validate commit message and changes. Exit status 0 allows the
409 commit to proceed. Non-zero status will cause the transaction to
418 commit to proceed. Non-zero status will cause the transaction to
410 be rolled back. ID of changeset is in $HG_NODE. Parent changeset
419 be rolled back. ID of changeset is in $HG_NODE. Parent changeset
411 IDs are in $HG_PARENT1 and $HG_PARENT2.
420 IDs are in $HG_PARENT1 and $HG_PARENT2.
412 preupdate;;
421 preupdate;;
413 Run before updating the working directory. Exit status 0 allows
422 Run before updating the working directory. Exit status 0 allows
414 the update to proceed. Non-zero status will prevent the update.
423 the update to proceed. Non-zero status will prevent the update.
415 Changeset ID of first new parent is in $HG_PARENT1. If merge, ID
424 Changeset ID of first new parent is in $HG_PARENT1. If merge, ID
416 of second new parent is in $HG_PARENT2.
425 of second new parent is in $HG_PARENT2.
417 tag;;
426 tag;;
418 Run after a tag is created. ID of tagged changeset is in
427 Run after a tag is created. ID of tagged changeset is in
419 $HG_NODE. Name of tag is in $HG_TAG. Tag is local if
428 $HG_NODE. Name of tag is in $HG_TAG. Tag is local if
420 $HG_LOCAL=1, in repo if $HG_LOCAL=0.
429 $HG_LOCAL=1, in repo if $HG_LOCAL=0.
421 update;;
430 update;;
422 Run after updating the working directory. Changeset ID of first
431 Run after updating the working directory. Changeset ID of first
423 new parent is in $HG_PARENT1. If merge, ID of second new parent
432 new parent is in $HG_PARENT1. If merge, ID of second new parent
424 is in $HG_PARENT2. If update succeeded, $HG_ERROR=0. If update
433 is in $HG_PARENT2. If update succeeded, $HG_ERROR=0. If update
425 failed (e.g. because conflicts not resolved), $HG_ERROR=1.
434 failed (e.g. because conflicts not resolved), $HG_ERROR=1.
426
435
427 Note: it is generally better to use standard hooks rather than the
436 Note: it is generally better to use standard hooks rather than the
428 generic pre- and post- command hooks as they are guaranteed to be
437 generic pre- and post- command hooks as they are guaranteed to be
429 called in the appropriate contexts for influencing transactions.
438 called in the appropriate contexts for influencing transactions.
430 Also, hooks like "commit" will be called in all contexts that
439 Also, hooks like "commit" will be called in all contexts that
431 generate a commit (eg. tag) and not just the commit command.
440 generate a commit (eg. tag) and not just the commit command.
432
441
433 Note2: Environment variables with empty values may not be passed to
442 Note2: Environment variables with empty values may not be passed to
434 hooks on platforms like Windows. For instance, $HG_PARENT2 will
443 hooks on platforms like Windows. For instance, $HG_PARENT2 will
435 not be available under Windows for non-merge changesets while being
444 not be available under Windows for non-merge changesets while being
436 set to an empty value under Unix-like systems.
445 set to an empty value under Unix-like systems.
437
446
438 The syntax for Python hooks is as follows:
447 The syntax for Python hooks is as follows:
439
448
440 hookname = python:modulename.submodule.callable
449 hookname = python:modulename.submodule.callable
441
450
442 Python hooks are run within the Mercurial process. Each hook is
451 Python hooks are run within the Mercurial process. Each hook is
443 called with at least three keyword arguments: a ui object (keyword
452 called with at least three keyword arguments: a ui object (keyword
444 "ui"), a repository object (keyword "repo"), and a "hooktype"
453 "ui"), a repository object (keyword "repo"), and a "hooktype"
445 keyword that tells what kind of hook is used. Arguments listed as
454 keyword that tells what kind of hook is used. Arguments listed as
446 environment variables above are passed as keyword arguments, with no
455 environment variables above are passed as keyword arguments, with no
447 "HG_" prefix, and names in lower case.
456 "HG_" prefix, and names in lower case.
448
457
449 If a Python hook returns a "true" value or raises an exception, this
458 If a Python hook returns a "true" value or raises an exception, this
450 is treated as failure of the hook.
459 is treated as failure of the hook.
451
460
461 [[http_proxy]]
452 http_proxy::
462 http_proxy::
453 Used to access web-based Mercurial repositories through a HTTP
463 Used to access web-based Mercurial repositories through a HTTP
454 proxy.
464 proxy.
455 host;;
465 host;;
456 Host name and (optional) port of the proxy server, for example
466 Host name and (optional) port of the proxy server, for example
457 "myproxy:8000".
467 "myproxy:8000".
458 no;;
468 no;;
459 Optional. Comma-separated list of host names that should bypass
469 Optional. Comma-separated list of host names that should bypass
460 the proxy.
470 the proxy.
461 passwd;;
471 passwd;;
462 Optional. Password to authenticate with at the proxy server.
472 Optional. Password to authenticate with at the proxy server.
463 user;;
473 user;;
464 Optional. User name to authenticate with at the proxy server.
474 Optional. User name to authenticate with at the proxy server.
465
475
476 [[smtp]]
466 smtp::
477 smtp::
467 Configuration for extensions that need to send email messages.
478 Configuration for extensions that need to send email messages.
468 host;;
479 host;;
469 Host name of mail server, e.g. "mail.example.com".
480 Host name of mail server, e.g. "mail.example.com".
470 port;;
481 port;;
471 Optional. Port to connect to on mail server. Default: 25.
482 Optional. Port to connect to on mail server. Default: 25.
472 tls;;
483 tls;;
473 Optional. Whether to connect to mail server using TLS. True or
484 Optional. Whether to connect to mail server using TLS. True or
474 False. Default: False.
485 False. Default: False.
475 username;;
486 username;;
476 Optional. User name to authenticate to SMTP server with.
487 Optional. User name to authenticate to SMTP server with.
477 If username is specified, password must also be specified.
488 If username is specified, password must also be specified.
478 Default: none.
489 Default: none.
479 password;;
490 password;;
480 Optional. Password to authenticate to SMTP server with.
491 Optional. Password to authenticate to SMTP server with.
481 If username is specified, password must also be specified.
492 If username is specified, password must also be specified.
482 Default: none.
493 Default: none.
483 local_hostname;;
494 local_hostname;;
484 Optional. It's the hostname that the sender can use to identify itself
495 Optional. It's the hostname that the sender can use to identify itself
485 to the MTA.
496 to the MTA.
486
497
498 [[paths]]
487 paths::
499 paths::
488 Assigns symbolic names to repositories. The left side is the
500 Assigns symbolic names to repositories. The left side is the
489 symbolic name, and the right gives the directory or URL that is the
501 symbolic name, and the right gives the directory or URL that is the
490 location of the repository. Default paths can be declared by
502 location of the repository. Default paths can be declared by
491 setting the following entries.
503 setting the following entries.
492 default;;
504 default;;
493 Directory or URL to use when pulling if no source is specified.
505 Directory or URL to use when pulling if no source is specified.
494 Default is set to repository from which the current repository
506 Default is set to repository from which the current repository
495 was cloned.
507 was cloned.
496 default-push;;
508 default-push;;
497 Optional. Directory or URL to use when pushing if no destination
509 Optional. Directory or URL to use when pushing if no destination
498 is specified.
510 is specified.
499
511
512 [[server]]
500 server::
513 server::
501 Controls generic server settings.
514 Controls generic server settings.
502 uncompressed;;
515 uncompressed;;
503 Whether to allow clients to clone a repo using the uncompressed
516 Whether to allow clients to clone a repo using the uncompressed
504 streaming protocol. This transfers about 40% more data than a
517 streaming protocol. This transfers about 40% more data than a
505 regular clone, but uses less memory and CPU on both server and
518 regular clone, but uses less memory and CPU on both server and
506 client. Over a LAN (100Mbps or better) or a very fast WAN, an
519 client. Over a LAN (100Mbps or better) or a very fast WAN, an
507 uncompressed streaming clone is a lot faster (~10x) than a regular
520 uncompressed streaming clone is a lot faster (~10x) than a regular
508 clone. Over most WAN connections (anything slower than about
521 clone. Over most WAN connections (anything slower than about
509 6Mbps), uncompressed streaming is slower, because of the extra
522 6Mbps), uncompressed streaming is slower, because of the extra
510 data transfer overhead. Default is False.
523 data transfer overhead. Default is False.
511
524
525 [[trusted]]
512 trusted::
526 trusted::
513 For security reasons, Mercurial will not use the settings in
527 For security reasons, Mercurial will not use the settings in
514 the .hg/hgrc file from a repository if it doesn't belong to a
528 the .hg/hgrc file from a repository if it doesn't belong to a
515 trusted user or to a trusted group. The main exception is the
529 trusted user or to a trusted group. The main exception is the
516 web interface, which automatically uses some safe settings, since
530 web interface, which automatically uses some safe settings, since
517 it's common to serve repositories from different users.
531 it's common to serve repositories from different users.
518
532
519 This section specifies what users and groups are trusted. The
533 This section specifies what users and groups are trusted. The
520 current user is always trusted. To trust everybody, list a user
534 current user is always trusted. To trust everybody, list a user
521 or a group with name "*".
535 or a group with name "*".
522
536
523 users;;
537 users;;
524 Comma-separated list of trusted users.
538 Comma-separated list of trusted users.
525 groups;;
539 groups;;
526 Comma-separated list of trusted groups.
540 Comma-separated list of trusted groups.
527
541
542 [[ui]]
528 ui::
543 ui::
529 User interface controls.
544 User interface controls.
530 archivemeta;;
545 archivemeta;;
531 Whether to include the .hg_archival.txt file containing metadata
546 Whether to include the .hg_archival.txt file containing metadata
532 (hashes for the repository base and for tip) in archives created by
547 (hashes for the repository base and for tip) in archives created by
533 the hg archive command or downloaded via hgweb.
548 the hg archive command or downloaded via hgweb.
534 Default is true.
549 Default is true.
535 debug;;
550 debug;;
536 Print debugging information. True or False. Default is False.
551 Print debugging information. True or False. Default is False.
537 editor;;
552 editor;;
538 The editor to use during a commit. Default is $EDITOR or "vi".
553 The editor to use during a commit. Default is $EDITOR or "vi".
539 fallbackencoding;;
554 fallbackencoding;;
540 Encoding to try if it's not possible to decode the changelog using
555 Encoding to try if it's not possible to decode the changelog using
541 UTF-8. Default is ISO-8859-1.
556 UTF-8. Default is ISO-8859-1.
542 ignore;;
557 ignore;;
543 A file to read per-user ignore patterns from. This file should be in
558 A file to read per-user ignore patterns from. This file should be in
544 the same format as a repository-wide .hgignore file. This option
559 the same format as a repository-wide .hgignore file. This option
545 supports hook syntax, so if you want to specify multiple ignore
560 supports hook syntax, so if you want to specify multiple ignore
546 files, you can do so by setting something like
561 files, you can do so by setting something like
547 "ignore.other = ~/.hgignore2". For details of the ignore file
562 "ignore.other = ~/.hgignore2". For details of the ignore file
548 format, see the hgignore(5) man page.
563 format, see the hgignore(5) man page.
549 interactive;;
564 interactive;;
550 Allow to prompt the user. True or False. Default is True.
565 Allow to prompt the user. True or False. Default is True.
551 logtemplate;;
566 logtemplate;;
552 Template string for commands that print changesets.
567 Template string for commands that print changesets.
553 merge;;
568 merge;;
554 The conflict resolution program to use during a manual merge.
569 The conflict resolution program to use during a manual merge.
555 There are some internal tools available:
570 There are some internal tools available:
556
571
557 internal:local;;
572 internal:local;;
558 keep the local version
573 keep the local version
559 internal:other;;
574 internal:other;;
560 use the other version
575 use the other version
561 internal:merge;;
576 internal:merge;;
562 use the internal non-interactive merge tool
577 use the internal non-interactive merge tool
563 internal:fail;;
578 internal:fail;;
564 fail to merge
579 fail to merge
565
580
566 See the merge-tools section for more information on configuring tools.
581 See the merge-tools section for more information on configuring tools.
567
582
568 patch;;
583 patch;;
569 command to use to apply patches. Look for 'gpatch' or 'patch' in PATH if
584 command to use to apply patches. Look for 'gpatch' or 'patch' in PATH if
570 unset.
585 unset.
571 quiet;;
586 quiet;;
572 Reduce the amount of output printed. True or False. Default is False.
587 Reduce the amount of output printed. True or False. Default is False.
573 remotecmd;;
588 remotecmd;;
574 remote command to use for clone/push/pull operations. Default is 'hg'.
589 remote command to use for clone/push/pull operations. Default is 'hg'.
575 report_untrusted;;
590 report_untrusted;;
576 Warn if a .hg/hgrc file is ignored due to not being owned by a
591 Warn if a .hg/hgrc file is ignored due to not being owned by a
577 trusted user or group. True or False. Default is True.
592 trusted user or group. True or False. Default is True.
578 slash;;
593 slash;;
579 Display paths using a slash ("/") as the path separator. This only
594 Display paths using a slash ("/") as the path separator. This only
580 makes a difference on systems where the default path separator is not
595 makes a difference on systems where the default path separator is not
581 the slash character (e.g. Windows uses the backslash character ("\")).
596 the slash character (e.g. Windows uses the backslash character ("\")).
582 Default is False.
597 Default is False.
583 ssh;;
598 ssh;;
584 command to use for SSH connections. Default is 'ssh'.
599 command to use for SSH connections. Default is 'ssh'.
585 strict;;
600 strict;;
586 Require exact command names, instead of allowing unambiguous
601 Require exact command names, instead of allowing unambiguous
587 abbreviations. True or False. Default is False.
602 abbreviations. True or False. Default is False.
588 style;;
603 style;;
589 Name of style to use for command output.
604 Name of style to use for command output.
590 timeout;;
605 timeout;;
591 The timeout used when a lock is held (in seconds), a negative value
606 The timeout used when a lock is held (in seconds), a negative value
592 means no timeout. Default is 600.
607 means no timeout. Default is 600.
593 username;;
608 username;;
594 The committer of a changeset created when running "commit".
609 The committer of a changeset created when running "commit".
595 Typically a person's name and email address, e.g. "Fred Widget
610 Typically a person's name and email address, e.g. "Fred Widget
596 <fred@example.com>". Default is $EMAIL or username@hostname.
611 <fred@example.com>". Default is $EMAIL or username@hostname.
597 If the username in hgrc is empty, it has to be specified manually or
612 If the username in hgrc is empty, it has to be specified manually or
598 in a different hgrc file (e.g. $HOME/.hgrc, if the admin set "username ="
613 in a different hgrc file (e.g. $HOME/.hgrc, if the admin set "username ="
599 in the system hgrc).
614 in the system hgrc).
600 verbose;;
615 verbose;;
601 Increase the amount of output printed. True or False. Default is False.
616 Increase the amount of output printed. True or False. Default is False.
602
617
603
618
619 [[web]]
604 web::
620 web::
605 Web interface configuration.
621 Web interface configuration.
606 accesslog;;
622 accesslog;;
607 Where to output the access log. Default is stdout.
623 Where to output the access log. Default is stdout.
608 address;;
624 address;;
609 Interface address to bind to. Default is all.
625 Interface address to bind to. Default is all.
610 allow_archive;;
626 allow_archive;;
611 List of archive format (bz2, gz, zip) allowed for downloading.
627 List of archive format (bz2, gz, zip) allowed for downloading.
612 Default is empty.
628 Default is empty.
613 allowbz2;;
629 allowbz2;;
614 (DEPRECATED) Whether to allow .tar.bz2 downloading of repo revisions.
630 (DEPRECATED) Whether to allow .tar.bz2 downloading of repo revisions.
615 Default is false.
631 Default is false.
616 allowgz;;
632 allowgz;;
617 (DEPRECATED) Whether to allow .tar.gz downloading of repo revisions.
633 (DEPRECATED) Whether to allow .tar.gz downloading of repo revisions.
618 Default is false.
634 Default is false.
619 allowpull;;
635 allowpull;;
620 Whether to allow pulling from the repository. Default is true.
636 Whether to allow pulling from the repository. Default is true.
621 allow_push;;
637 allow_push;;
622 Whether to allow pushing to the repository. If empty or not set,
638 Whether to allow pushing to the repository. If empty or not set,
623 push is not allowed. If the special value "*", any remote user
639 push is not allowed. If the special value "*", any remote user
624 can push, including unauthenticated users. Otherwise, the remote
640 can push, including unauthenticated users. Otherwise, the remote
625 user must have been authenticated, and the authenticated user name
641 user must have been authenticated, and the authenticated user name
626 must be present in this list (separated by whitespace or ",").
642 must be present in this list (separated by whitespace or ",").
627 The contents of the allow_push list are examined after the
643 The contents of the allow_push list are examined after the
628 deny_push list.
644 deny_push list.
629 allowzip;;
645 allowzip;;
630 (DEPRECATED) Whether to allow .zip downloading of repo revisions.
646 (DEPRECATED) Whether to allow .zip downloading of repo revisions.
631 Default is false. This feature creates temporary files.
647 Default is false. This feature creates temporary files.
632 baseurl;;
648 baseurl;;
633 Base URL to use when publishing URLs in other locations, so
649 Base URL to use when publishing URLs in other locations, so
634 third-party tools like email notification hooks can construct URLs.
650 third-party tools like email notification hooks can construct URLs.
635 Example: "http://hgserver/repos/"
651 Example: "http://hgserver/repos/"
636 contact;;
652 contact;;
637 Name or email address of the person in charge of the repository.
653 Name or email address of the person in charge of the repository.
638 Defaults to ui.username or $EMAIL or "unknown" if unset or empty.
654 Defaults to ui.username or $EMAIL or "unknown" if unset or empty.
639 deny_push;;
655 deny_push;;
640 Whether to deny pushing to the repository. If empty or not set,
656 Whether to deny pushing to the repository. If empty or not set,
641 push is not denied. If the special value "*", all remote users
657 push is not denied. If the special value "*", all remote users
642 are denied push. Otherwise, unauthenticated users are all denied,
658 are denied push. Otherwise, unauthenticated users are all denied,
643 and any authenticated user name present in this list (separated by
659 and any authenticated user name present in this list (separated by
644 whitespace or ",") is also denied. The contents of the deny_push
660 whitespace or ",") is also denied. The contents of the deny_push
645 list are examined before the allow_push list.
661 list are examined before the allow_push list.
646 description;;
662 description;;
647 Textual description of the repository's purpose or contents.
663 Textual description of the repository's purpose or contents.
648 Default is "unknown".
664 Default is "unknown".
649 encoding;;
665 encoding;;
650 Character encoding name.
666 Character encoding name.
651 Example: "UTF-8"
667 Example: "UTF-8"
652 errorlog;;
668 errorlog;;
653 Where to output the error log. Default is stderr.
669 Where to output the error log. Default is stderr.
654 hidden;;
670 hidden;;
655 Whether to hide the repository in the hgwebdir index. Default is false.
671 Whether to hide the repository in the hgwebdir index. Default is false.
656 ipv6;;
672 ipv6;;
657 Whether to use IPv6. Default is false.
673 Whether to use IPv6. Default is false.
658 name;;
674 name;;
659 Repository name to use in the web interface. Default is current
675 Repository name to use in the web interface. Default is current
660 working directory.
676 working directory.
661 maxchanges;;
677 maxchanges;;
662 Maximum number of changes to list on the changelog. Default is 10.
678 Maximum number of changes to list on the changelog. Default is 10.
663 maxfiles;;
679 maxfiles;;
664 Maximum number of files to list per changeset. Default is 10.
680 Maximum number of files to list per changeset. Default is 10.
665 port;;
681 port;;
666 Port to listen on. Default is 8000.
682 Port to listen on. Default is 8000.
667 prefix;;
683 prefix;;
668 Prefix path to serve from. Default is '' (server root).
684 Prefix path to serve from. Default is '' (server root).
669 push_ssl;;
685 push_ssl;;
670 Whether to require that inbound pushes be transported over SSL to
686 Whether to require that inbound pushes be transported over SSL to
671 prevent password sniffing. Default is true.
687 prevent password sniffing. Default is true.
672 staticurl;;
688 staticurl;;
673 Base URL to use for static files. If unset, static files (e.g.
689 Base URL to use for static files. If unset, static files (e.g.
674 the hgicon.png favicon) will be served by the CGI script itself.
690 the hgicon.png favicon) will be served by the CGI script itself.
675 Use this setting to serve them directly with the HTTP server.
691 Use this setting to serve them directly with the HTTP server.
676 Example: "http://hgserver/static/"
692 Example: "http://hgserver/static/"
677 stripes;;
693 stripes;;
678 How many lines a "zebra stripe" should span in multiline output.
694 How many lines a "zebra stripe" should span in multiline output.
679 Default is 1; set to 0 to disable.
695 Default is 1; set to 0 to disable.
680 style;;
696 style;;
681 Which template map style to use.
697 Which template map style to use.
682 templates;;
698 templates;;
683 Where to find the HTML templates. Default is install path.
699 Where to find the HTML templates. Default is install path.
684
700
685
701
686 AUTHOR
702 AUTHOR
687 ------
703 ------
688 Bryan O'Sullivan <bos@serpentine.com>.
704 Bryan O'Sullivan <bos@serpentine.com>.
689
705
690 Mercurial was written by Matt Mackall <mpm@selenic.com>.
706 Mercurial was written by Matt Mackall <mpm@selenic.com>.
691
707
692 SEE ALSO
708 SEE ALSO
693 --------
709 --------
694 hg(1), hgignore(5)
710 hg(1), hgignore(5)
695
711
696 COPYING
712 COPYING
697 -------
713 -------
698 This manual page is copyright 2005 Bryan O'Sullivan.
714 This manual page is copyright 2005 Bryan O'Sullivan.
699 Mercurial is copyright 2005-2007 Matt Mackall.
715 Mercurial is copyright 2005-2007 Matt Mackall.
700 Free use of this software is granted under the terms of the GNU General
716 Free use of this software is granted under the terms of the GNU General
701 Public License (GPL).
717 Public License (GPL).
General Comments 0
You need to be logged in to leave comments. Login now