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