|
@@
-23,7
+23,7
b' FILES'
|
|
23
|
23
|
|
|
24
|
24
|
Mercurial reads configuration data from several files, if they exist.
|
|
25
|
25
|
The names of these files depend on the system on which Mercurial is
|
|
26
|
|
installed. `*.rc` files from a single directory are read in
|
|
|
26
|
installed. ``*.rc`` files from a single directory are read in
|
|
27
|
27
|
alphabetical order, later ones overriding earlier ones. Where multiple
|
|
28
|
28
|
paths are given below, settings from later paths override earlier
|
|
29
|
29
|
ones.
|
|
@@
-32,10
+32,10
b' ones.'
|
|
32
|
32
|
| (Unix) ``<install-root>/etc/mercurial/hgrc``
|
|
33
|
33
|
|
|
34
|
34
|
Per-installation configuration files, searched for in the
|
|
35
|
|
directory where Mercurial is installed. `<install-root>` is the
|
|
36
|
|
parent directory of the hg executable (or symlink) being run. For
|
|
37
|
|
example, if installed in `/shared/tools/bin/hg`, Mercurial will look
|
|
38
|
|
in `/shared/tools/etc/mercurial/hgrc`. Options in these files apply
|
|
|
35
|
directory where Mercurial is installed. ``<install-root>`` is the
|
|
|
36
|
parent directory of the **hg** executable (or symlink) being run. For
|
|
|
37
|
example, if installed in ``/shared/tools/bin/hg``, Mercurial will look
|
|
|
38
|
in ``/shared/tools/etc/mercurial/hgrc``. Options in these files apply
|
|
39
|
39
|
to all Mercurial commands executed by any user in any directory.
|
|
40
|
40
|
|
|
41
|
41
|
| (Unix) ``/etc/mercurial/hgrc.d/*.rc``
|
|
@@
-54,7
+54,7
b' ones.'
|
|
54
|
54
|
which Mercurial is running. Options in these files apply to all
|
|
55
|
55
|
Mercurial commands executed by any user in any directory. Registry
|
|
56
|
56
|
keys contain PATH-like strings, every part of which must reference
|
|
57
|
|
a `Mercurial.ini` file or be a directory where `*.rc` files will
|
|
|
57
|
a ``Mercurial.ini`` file or be a directory where ``*.rc`` files will
|
|
58
|
58
|
be read.
|
|
59
|
59
|
|
|
60
|
60
|
| (Unix) ``$HOME/.hgrc``
|
|
@@
-64,7
+64,7
b' ones.'
|
|
64
|
64
|
| (Windows) ``%USERPROFILE%\.hgrc``
|
|
65
|
65
|
|
|
66
|
66
|
Per-user configuration file(s), for the user running Mercurial. On
|
|
67
|
|
Windows 9x, `%HOME%` is replaced by `%APPDATA%`. Options in these
|
|
|
67
|
Windows 9x, ``%HOME%`` is replaced by ``%APPDATA%``. Options in these
|
|
68
|
68
|
files apply to all Mercurial commands executed by this user in any
|
|
69
|
69
|
directory. Options in these files override per-installation and
|
|
70
|
70
|
per-system options.
|
|
@@
-82,8
+82,8
b' ones.'
|
|
82
|
82
|
SYNTAX
|
|
83
|
83
|
------
|
|
84
|
84
|
|
|
85
|
|
A configuration file consists of sections, led by a "`[section]`" header
|
|
86
|
|
and followed by "`name: value`" entries; "`name=value`" is also accepted.
|
|
|
85
|
A configuration file consists of sections, led by a "``[section]``" header
|
|
|
86
|
and followed by "``name: value``" entries; "``name=value``" is also accepted.
|
|
87
|
87
|
|
|
88
|
88
|
::
|
|
89
|
89
|
|
|
@@
-121,7
+121,7
b' For example, this definition::'
|
|
121
|
121
|
|
|
122
|
122
|
latest = log --limit 5
|
|
123
|
123
|
|
|
124
|
|
creates a new command `latest` that shows only the five most recent
|
|
|
124
|
creates a new command ``latest`` that shows only the five most recent
|
|
125
|
125
|
changesets. You can define subsequent aliases using earlier ones::
|
|
126
|
126
|
|
|
127
|
127
|
stable5 = latest -b stable
|
|
@@
-154,9
+154,9
b' Example::'
|
|
154
|
154
|
Supported arguments:
|
|
155
|
155
|
|
|
156
|
156
|
``prefix``
|
|
157
|
|
Either "\*" or a URI prefix with or without the scheme part.
|
|
|
157
|
Either "``*``" or a URI prefix with or without the scheme part.
|
|
158
|
158
|
The authentication entry with the longest matching prefix is used
|
|
159
|
|
(where "*" matches everything and counts as a match of length
|
|
|
159
|
(where "``*``" matches everything and counts as a match of length
|
|
160
|
160
|
1). If the prefix doesn't include a scheme, the match is performed
|
|
161
|
161
|
against the URI with its scheme stripped as well, and the schemes
|
|
162
|
162
|
argument, q.v., is then subsequently consulted.
|
|
@@
-191,9
+191,9
b' localization/canonicalization of files.'
|
|
191
|
191
|
|
|
192
|
192
|
Filters consist of a filter pattern followed by a filter command.
|
|
193
|
193
|
Filter patterns are globs by default, rooted at the repository root.
|
|
194
|
|
For example, to match any file ending in "`.txt`" in the root
|
|
195
|
|
directory only, use the pattern "`*.txt`". To match any file ending
|
|
196
|
|
in "`.c`" anywhere in the repository, use the pattern "`**.c`".
|
|
|
194
|
For example, to match any file ending in "``.txt``" in the root
|
|
|
195
|
directory only, use the pattern "``*.txt``". To match any file ending
|
|
|
196
|
in "``.c``" anywhere in the repository, use the pattern "``**.c``".
|
|
197
|
197
|
|
|
198
|
198
|
The filter command can start with a specifier, either "pipe:" or
|
|
199
|
199
|
"tempfile:". If no specifier is given, "pipe:" is used by default.
|
|
@@
-307,7
+307,7
b' Settings for extensions that send email '
|
|
307
|
307
|
convenient for recipients. Addresses, headers, and parts not
|
|
308
|
308
|
containing patches of outgoing messages will be encoded in the
|
|
309
|
309
|
first character set to which conversion from local encoding
|
|
310
|
|
(`$HGENCODING`, `ui.fallbackencoding`) succeeds. If correct
|
|
|
310
|
(``$HGENCODING``, ``ui.fallbackencoding``) succeeds. If correct
|
|
311
|
311
|
conversion fails, the text in question is sent as is. Defaults to
|
|
312
|
312
|
empty (explicit) list.
|
|
313
|
313
|
|
|
@@
-336,19
+336,19
b' Mercurial has an extension mechanism for'
|
|
336
|
336
|
enable an extension, create an entry for it in this section.
|
|
337
|
337
|
|
|
338
|
338
|
If you know that the extension is already in Python's search path,
|
|
339
|
|
you can give the name of the module, followed by "`=`", with nothing
|
|
340
|
|
after the "`=`".
|
|
|
339
|
you can give the name of the module, followed by "``=``", with nothing
|
|
|
340
|
after the "``=``".
|
|
341
|
341
|
|
|
342
|
|
Otherwise, give a name that you choose, followed by "`=`", followed by
|
|
343
|
|
the path to the "`.py`" file (including the file name extension) that
|
|
|
342
|
Otherwise, give a name that you choose, followed by "``=``", followed by
|
|
|
343
|
the path to the "``.py``" file (including the file name extension) that
|
|
344
|
344
|
defines the extension.
|
|
345
|
345
|
|
|
346
|
346
|
To explicitly disable an extension that is enabled in an hgrc of
|
|
347
|
|
broader scope, prepend its path with "`!`", as in
|
|
348
|
|
"`hgext.foo = !/ext/path`" or "`hgext.foo = !`" when path is not
|
|
|
347
|
broader scope, prepend its path with "``!``", as in
|
|
|
348
|
"``hgext.foo = !/ext/path``" or "``hgext.foo = !``" when path is not
|
|
349
|
349
|
supplied.
|
|
350
|
350
|
|
|
351
|
|
Example for `~/.hgrc`::
|
|
|
351
|
Example for ``~/.hgrc``::
|
|
352
|
352
|
|
|
353
|
353
|
[extensions]
|
|
354
|
354
|
# (the mq extension will get loaded from Mercurial's path)
|
|
@@
-396,7
+396,7
b' Example::'
|
|
396
|
396
|
This section configures external merge tools to use for file-level
|
|
397
|
397
|
merges.
|
|
398
|
398
|
|
|
399
|
|
Example `~/.hgrc`::
|
|
|
399
|
Example ``~/.hgrc``::
|
|
400
|
400
|
|
|
401
|
401
|
[merge-tools]
|
|
402
|
402
|
# Override stock tool location
|
|
@@
-422,8
+422,8
b' Supported arguments:'
|
|
422
|
422
|
``args``
|
|
423
|
423
|
The arguments to pass to the tool executable. You can refer to the
|
|
424
|
424
|
files being merged as well as the output file through these
|
|
425
|
|
variables: `$base`, `$local`, `$other`, `$output`.
|
|
426
|
|
Default: `$local $base $other`
|
|
|
425
|
variables: ``$base``, ``$local``, ``$other``, ``$output``.
|
|
|
426
|
Default: ``$local $base $other``
|
|
427
|
427
|
``premerge``
|
|
428
|
428
|
Attempt to run internal non-interactive 3-way merge tool before
|
|
429
|
429
|
launching external tool.
|
|
@@
-450,7
+450,7
b' Supported arguments:'
|
|
450
|
450
|
``regkey``
|
|
451
|
451
|
Windows registry key which describes install location of this
|
|
452
|
452
|
tool. Mercurial will search for this key first under
|
|
453
|
|
`HKEY_CURRENT_USER` and then under `HKEY_LOCAL_MACHINE`.
|
|
|
453
|
``HKEY_CURRENT_USER`` and then under ``HKEY_LOCAL_MACHINE``.
|
|
454
|
454
|
Default: None
|
|
455
|
455
|
``regname``
|
|
456
|
456
|
Name of value to read from specified registry key. Defaults to the
|
|
@@
-469,7
+469,7
b' hooks can be run for the same action by '
|
|
469
|
469
|
action. Overriding a site-wide hook can be done by changing its
|
|
470
|
470
|
value or setting it to an empty string.
|
|
471
|
471
|
|
|
472
|
|
Example `.hg/hgrc`::
|
|
|
472
|
Example ``.hg/hgrc``::
|
|
473
|
473
|
|
|
474
|
474
|
[hooks]
|
|
475
|
475
|
# do not use the site-wide hook
|
|
@@
-483,82
+483,82
b' variables it is passed are listed with n'
|
|
483
|
483
|
|
|
484
|
484
|
``changegroup``
|
|
485
|
485
|
Run after a changegroup has been added via push, pull or unbundle.
|
|
486
|
|
ID of the first new changeset is in `$HG_NODE`. URL from which
|
|
487
|
|
changes came is in `$HG_URL`.
|
|
|
486
|
ID of the first new changeset is in ``$HG_NODE``. URL from which
|
|
|
487
|
changes came is in ``$HG_URL``.
|
|
488
|
488
|
``commit``
|
|
489
|
489
|
Run after a changeset has been created in the local repository. ID
|
|
490
|
|
of the newly created changeset is in `$HG_NODE`. Parent changeset
|
|
491
|
|
IDs are in `$HG_PARENT1` and `$HG_PARENT2`.
|
|
|
490
|
of the newly created changeset is in ``$HG_NODE``. Parent changeset
|
|
|
491
|
IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``.
|
|
492
|
492
|
``incoming``
|
|
493
|
493
|
Run after a changeset has been pulled, pushed, or unbundled into
|
|
494
|
494
|
the local repository. The ID of the newly arrived changeset is in
|
|
495
|
|
`$HG_NODE`. URL that was source of changes came is in `$HG_URL`.
|
|
|
495
|
``$HG_NODE``. URL that was source of changes came is in ``$HG_URL``.
|
|
496
|
496
|
``outgoing``
|
|
497
|
497
|
Run after sending changes from local repository to another. ID of
|
|
498
|
|
first changeset sent is in `$HG_NODE`. Source of operation is in
|
|
499
|
|
`$HG_SOURCE`; see "preoutgoing" hook for description.
|
|
|
498
|
first changeset sent is in ``$HG_NODE``. Source of operation is in
|
|
|
499
|
``$HG_SOURCE``; see "preoutgoing" hook for description.
|
|
500
|
500
|
``post-<command>``
|
|
501
|
501
|
Run after successful invocations of the associated command. The
|
|
502
|
|
contents of the command line are passed as `$HG_ARGS` and the result
|
|
503
|
|
code in `$HG_RESULT`. Hook failure is ignored.
|
|
|
502
|
contents of the command line are passed as ``$HG_ARGS`` and the result
|
|
|
503
|
code in ``$HG_RESULT``. Hook failure is ignored.
|
|
504
|
504
|
``pre-<command>``
|
|
505
|
505
|
Run before executing the associated command. The contents of the
|
|
506
|
|
command line are passed as `$HG_ARGS`. If the hook returns failure,
|
|
|
506
|
command line are passed as ``$HG_ARGS``. If the hook returns failure,
|
|
507
|
507
|
the command doesn't execute and Mercurial returns the failure
|
|
508
|
508
|
code.
|
|
509
|
509
|
``prechangegroup``
|
|
510
|
510
|
Run before a changegroup is added via push, pull or unbundle. Exit
|
|
511
|
511
|
status 0 allows the changegroup to proceed. Non-zero status will
|
|
512
|
512
|
cause the push, pull or unbundle to fail. URL from which changes
|
|
513
|
|
will come is in `$HG_URL`.
|
|
|
513
|
will come is in ``$HG_URL``.
|
|
514
|
514
|
``precommit``
|
|
515
|
515
|
Run before starting a local commit. Exit status 0 allows the
|
|
516
|
516
|
commit to proceed. Non-zero status will cause the commit to fail.
|
|
517
|
|
Parent changeset IDs are in `$HG_PARENT1` and `$HG_PARENT2`.
|
|
|
517
|
Parent changeset IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``.
|
|
518
|
518
|
``preoutgoing``
|
|
519
|
519
|
Run before collecting changes to send from the local repository to
|
|
520
|
520
|
another. Non-zero status will cause failure. This lets you prevent
|
|
521
|
521
|
pull over HTTP or SSH. Also prevents against local pull, push
|
|
522
|
522
|
(outbound) or bundle commands, but not effective, since you can
|
|
523
|
523
|
just copy files instead then. Source of operation is in
|
|
524
|
|
`$HG_SOURCE`. If "serve", operation is happening on behalf of remote
|
|
|
524
|
``$HG_SOURCE``. If "serve", operation is happening on behalf of remote
|
|
525
|
525
|
SSH or HTTP repository. If "push", "pull" or "bundle", operation
|
|
526
|
526
|
is happening on behalf of repository on same system.
|
|
527
|
527
|
``pretag``
|
|
528
|
528
|
Run before creating a tag. Exit status 0 allows the tag to be
|
|
529
|
529
|
created. Non-zero status will cause the tag to fail. ID of
|
|
530
|
|
changeset to tag is in `$HG_NODE`. Name of tag is in `$HG_TAG`. Tag is
|
|
531
|
|
local if `$HG_LOCAL=1`, in repository if `$HG_LOCAL=0`.
|
|
|
530
|
changeset to tag is in ``$HG_NODE``. Name of tag is in ``$HG_TAG``. Tag is
|
|
|
531
|
local if ``$HG_LOCAL=1``, in repository if ``$HG_LOCAL=0``.
|
|
532
|
532
|
``pretxnchangegroup``
|
|
533
|
533
|
Run after a changegroup has been added via push, pull or unbundle,
|
|
534
|
534
|
but before the transaction has been committed. Changegroup is
|
|
535
|
535
|
visible to hook program. This lets you validate incoming changes
|
|
536
|
536
|
before accepting them. Passed the ID of the first new changeset in
|
|
537
|
|
`$HG_NODE`. Exit status 0 allows the transaction to commit. Non-zero
|
|
|
537
|
``$HG_NODE``. Exit status 0 allows the transaction to commit. Non-zero
|
|
538
|
538
|
status will cause the transaction to be rolled back and the push,
|
|
539
|
539
|
pull or unbundle will fail. URL that was source of changes is in
|
|
540
|
|
`$HG_URL`.
|
|
|
540
|
``$HG_URL``.
|
|
541
|
541
|
``pretxncommit``
|
|
542
|
542
|
Run after a changeset has been created but the transaction not yet
|
|
543
|
543
|
committed. Changeset is visible to hook program. This lets you
|
|
544
|
544
|
validate commit message and changes. Exit status 0 allows the
|
|
545
|
545
|
commit to proceed. Non-zero status will cause the transaction to
|
|
546
|
|
be rolled back. ID of changeset is in `$HG_NODE`. Parent changeset
|
|
547
|
|
IDs are in `$HG_PARENT1` and `$HG_PARENT2`.
|
|
|
546
|
be rolled back. ID of changeset is in ``$HG_NODE``. Parent changeset
|
|
|
547
|
IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``.
|
|
548
|
548
|
``preupdate``
|
|
549
|
549
|
Run before updating the working directory. Exit status 0 allows
|
|
550
|
550
|
the update to proceed. Non-zero status will prevent the update.
|
|
551
|
|
Changeset ID of first new parent is in `$HG_PARENT1`. If merge, ID
|
|
552
|
|
of second new parent is in `$HG_PARENT2`.
|
|
|
551
|
Changeset ID of first new parent is in ``$HG_PARENT1``. If merge, ID
|
|
|
552
|
of second new parent is in ``$HG_PARENT2``.
|
|
553
|
553
|
``tag``
|
|
554
|
|
Run after a tag is created. ID of tagged changeset is in `$HG_NODE`.
|
|
555
|
|
Name of tag is in `$HG_TAG`. Tag is local if `$HG_LOCAL=1`, in
|
|
556
|
|
repository if `$HG_LOCAL=0`.
|
|
|
554
|
Run after a tag is created. ID of tagged changeset is in ``$HG_NODE``.
|
|
|
555
|
Name of tag is in ``$HG_TAG``. Tag is local if ``$HG_LOCAL=1``, in
|
|
|
556
|
repository if ``$HG_LOCAL=0``.
|
|
557
|
557
|
``update``
|
|
558
|
558
|
Run after updating the working directory. Changeset ID of first
|
|
559
|
|
new parent is in `$HG_PARENT1`. If merge, ID of second new parent is
|
|
560
|
|
in `$HG_PARENT2`. If the update succeeded, `$HG_ERROR=0`. If the
|
|
561
|
|
update failed (e.g. because conflicts not resolved), `$HG_ERROR=1`.
|
|
|
559
|
new parent is in ``$HG_PARENT1``. If merge, ID of second new parent is
|
|
|
560
|
in ``$HG_PARENT2``. If the update succeeded, ``$HG_ERROR=0``. If the
|
|
|
561
|
update failed (e.g. because conflicts not resolved), ``$HG_ERROR=1``.
|
|
562
|
562
|
|
|
563
|
563
|
NOTE: it is generally better to use standard hooks rather than the
|
|
564
|
564
|
generic pre- and post- command hooks as they are guaranteed to be
|
|
@@
-567,7
+567,7
b' Also, hooks like "commit" will be called'
|
|
567
|
567
|
generate a commit (e.g. tag) and not just the commit command.
|
|
568
|
568
|
|
|
569
|
569
|
NOTE: Environment variables with empty values may not be passed to
|
|
570
|
|
hooks on platforms such as Windows. As an example, `$HG_PARENT2` will
|
|
|
570
|
hooks on platforms such as Windows. As an example, ``$HG_PARENT2`` will
|
|
571
|
571
|
have an empty value under Unix-like platforms for non-merge
|
|
572
|
572
|
changesets, while it will not be available at all under Windows.
|
|
573
|
573
|
|
|
@@
-581,7
+581,7
b' called with at least three keyword argum'
|
|
581
|
581
|
"ui"), a repository object (keyword "repo"), and a "hooktype"
|
|
582
|
582
|
keyword that tells what kind of hook is used. Arguments listed as
|
|
583
|
583
|
environment variables above are passed as keyword arguments, with no
|
|
584
|
|
"`HG_`" prefix, and names in lower case.
|
|
|
584
|
"``HG_``" prefix, and names in lower case.
|
|
585
|
585
|
|
|
586
|
586
|
If a Python hook returns a "true" value or raises an exception, this
|
|
587
|
587
|
is treated as a failure.
|
|
@@
-699,14
+699,14
b' Controls generic server settings.'
|
|
699
|
699
|
``trusted``
|
|
700
|
700
|
"""""""""""
|
|
701
|
701
|
For security reasons, Mercurial will not use the settings in the
|
|
702
|
|
`.hg/hgrc` file from a repository if it doesn't belong to a trusted
|
|
|
702
|
``.hg/hgrc`` file from a repository if it doesn't belong to a trusted
|
|
703
|
703
|
user or to a trusted group. The main exception is the web interface,
|
|
704
|
704
|
which automatically uses some safe settings, since it's common to
|
|
705
|
705
|
serve repositories from different users.
|
|
706
|
706
|
|
|
707
|
707
|
This section specifies what users and groups are trusted. The
|
|
708
|
708
|
current user is always trusted. To trust everybody, list a user or a
|
|
709
|
|
group with name "`*`".
|
|
|
709
|
group with name "``*``".
|
|
710
|
710
|
|
|
711
|
711
|
``users``
|
|
712
|
712
|
Comma-separated list of trusted users.
|
|
@@
-726,14
+726,14
b' User interface controls.'
|
|
726
|
726
|
Default is true.
|
|
727
|
727
|
``askusername``
|
|
728
|
728
|
Whether to prompt for a username when committing. If True, and
|
|
729
|
|
neither `$HGUSER` nor `$EMAIL` has been specified, then the user will
|
|
|
729
|
neither ``$HGUSER`` nor ``$EMAIL`` has been specified, then the user will
|
|
730
|
730
|
be prompted to enter a username. If no username is entered, the
|
|
731
|
731
|
default USER@HOST is used instead.
|
|
732
|
732
|
Default is False.
|
|
733
|
733
|
``debug``
|
|
734
|
734
|
Print debugging information. True or False. Default is False.
|
|
735
|
735
|
``editor``
|
|
736
|
|
The editor to use during a commit. Default is `$EDITOR` or "vi".
|
|
|
736
|
The editor to use during a commit. Default is ``$EDITOR`` or "vi".
|
|
737
|
737
|
``fallbackencoding``
|
|
738
|
738
|
Encoding to try if it's not possible to decode the changelog using
|
|
739
|
739
|
UTF-8. Default is ISO-8859-1.
|
|
@@
-742,7
+742,7
b' User interface controls.'
|
|
742
|
742
|
in the same format as a repository-wide .hgignore file. This
|
|
743
|
743
|
option supports hook syntax, so if you want to specify multiple
|
|
744
|
744
|
ignore files, you can do so by setting something like
|
|
745
|
|
"ignore.other = ~/.hgignore2". For details of the ignore file
|
|
|
745
|
"``ignore.other = ~/.hgignore2``". For details of the ignore file
|
|
746
|
746
|
format, see the hgignore(5) man page.
|
|
747
|
747
|
``interactive``
|
|
748
|
748
|
Allow to prompt the user. True or False. Default is True.
|
|
@@
-772,13
+772,13
b' merge-tools section.'
|
|
772
|
772
|
``remotecmd``
|
|
773
|
773
|
remote command to use for clone/push/pull operations. Default is 'hg'.
|
|
774
|
774
|
``report_untrusted``
|
|
775
|
|
Warn if a `.hg/hgrc` file is ignored due to not being owned by a
|
|
|
775
|
Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a
|
|
776
|
776
|
trusted user or group. True or False. Default is True.
|
|
777
|
777
|
``slash``
|
|
778
|
|
Display paths using a slash ("`/`") as the path separator. This
|
|
|
778
|
Display paths using a slash ("``/``") as the path separator. This
|
|
779
|
779
|
only makes a difference on systems where the default path
|
|
780
|
780
|
separator is not the slash character (e.g. Windows uses the
|
|
781
|
|
backslash character ("`\\`")).
|
|
|
781
|
backslash character ("``\``")).
|
|
782
|
782
|
Default is False.
|
|
783
|
783
|
``ssh``
|
|
784
|
784
|
command to use for SSH connections. Default is 'ssh'.
|
|
@@
-793,9
+793,9
b' merge-tools section.'
|
|
793
|
793
|
``username``
|
|
794
|
794
|
The committer of a changeset created when running "commit".
|
|
795
|
795
|
Typically a person's name and email address, e.g. "Fred Widget
|
|
796
|
|
<fred@example.com>". Default is `$EMAIL` or username@hostname. If
|
|
|
796
|
<fred@example.com>". Default is ``$EMAIL`` or username@hostname. If
|
|
797
|
797
|
the username in hgrc is empty, it has to be specified manually or
|
|
798
|
|
in a different hgrc file (e.g. `$HOME/.hgrc`, if the admin set
|
|
|
798
|
in a different hgrc file (e.g. ``$HOME/.hgrc``, if the admin set
|
|
799
|
799
|
"username =" in the system hgrc).
|
|
800
|
800
|
``verbose``
|
|
801
|
801
|
Increase the amount of output printed. True or False. Default is False.
|
|
@@
-824,7
+824,7
b' Web interface configuration.'
|
|
824
|
824
|
Whether to allow pulling from the repository. Default is true.
|
|
825
|
825
|
``allow_push``
|
|
826
|
826
|
Whether to allow pushing to the repository. If empty or not set,
|
|
827
|
|
push is not allowed. If the special value "`*`", any remote user can
|
|
|
827
|
push is not allowed. If the special value "``*``", any remote user can
|
|
828
|
828
|
push, including unauthenticated users. Otherwise, the remote user
|
|
829
|
829
|
must have been authenticated, and the authenticated user name must
|
|
830
|
830
|
be present in this list (separated by whitespace or ","). The
|
|
@@
-837,7
+837,7
b' Web interface configuration.'
|
|
837
|
837
|
user is unauthenticated or not present in the list (separated by
|
|
838
|
838
|
whitespace or ","), then access is denied for the user. If the
|
|
839
|
839
|
list is empty or not set, then access is permitted to all users by
|
|
840
|
|
default. Setting allow_read to the special value "`*`" is equivalent
|
|
|
840
|
default. Setting allow_read to the special value "``*``" is equivalent
|
|
841
|
841
|
to it not being set (i.e. access is permitted to all users). The
|
|
842
|
842
|
contents of the allow_read list are examined after the deny_read
|
|
843
|
843
|
list.
|
|
@@
-850,10
+850,10
b' Web interface configuration.'
|
|
850
|
850
|
URLs. Example: "http://hgserver/repos/"
|
|
851
|
851
|
``contact``
|
|
852
|
852
|
Name or email address of the person in charge of the repository.
|
|
853
|
|
Defaults to ui.username or `$EMAIL` or "unknown" if unset or empty.
|
|
|
853
|
Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty.
|
|
854
|
854
|
``deny_push``
|
|
855
|
855
|
Whether to deny pushing to the repository. If empty or not set,
|
|
856
|
|
push is not denied. If the special value "`*`", all remote users are
|
|
|
856
|
push is not denied. If the special value "``*``", all remote users are
|
|
857
|
857
|
denied push. Otherwise, unauthenticated users are all denied, and
|
|
858
|
858
|
any authenticated user name present in this list (separated by
|
|
859
|
859
|
whitespace or ",") is also denied. The contents of the deny_push
|
|
@@
-863,7
+863,7
b' Web interface configuration.'
|
|
863
|
863
|
not empty, unauthenticated users are all denied, and any
|
|
864
|
864
|
authenticated user name present in this list (separated by
|
|
865
|
865
|
whitespace or ",") is also denied access to the repository. If set
|
|
866
|
|
to the special value "`*`", all remote users are denied access
|
|
|
866
|
to the special value "``*``", all remote users are denied access
|
|
867
|
867
|
(rarely needed ;). If deny_read is empty or not set, the
|
|
868
|
868
|
determination of repository access depends on the presence and
|
|
869
|
869
|
content of the allow_read list (see description). If both
|