mercurial/help/config.txt
changeset 26280 5edf3dccb6f7
parent 26279 6765d21ff17f
child 26281 5cac3bdb3c67
equal deleted inserted replaced
26279:6765d21ff17f 26280:5edf3dccb6f7
     8   [ui]
     8   [ui]
     9   username = Firstname Lastname <firstname.lastname@example.net>
     9   username = Firstname Lastname <firstname.lastname@example.net>
    10   verbose = True
    10   verbose = True
    11 
    11 
    12 The above entries will be referred to as ``ui.username`` and
    12 The above entries will be referred to as ``ui.username`` and
    13 ``ui.verbose``, respectively. See the Syntax section below.
    13 ``ui.verbose``, respectively. See :hg:`help config.syntax`.
    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.
    74 Per-repository configuration options only apply in a
    74 Per-repository configuration options only apply in a
    75 particular repository. This file is not version-controlled, and
    75 particular repository. This file is not version-controlled, and
    76 will not get transferred during a "clone" operation. Options in
    76 will not get transferred during a "clone" operation. Options in
    77 this file override options in all other configuration files. On
    77 this file override options in all other configuration files. On
    78 Plan 9 and Unix, most of this file will be ignored if it doesn't
    78 Plan 9 and Unix, most of this file will be ignored if it doesn't
    79 belong to a trusted user or to a trusted group. See the documentation
    79 belong to a trusted user or to a trusted group. See
    80 for the ``[trusted]`` section below for more details.
    80 :hg:`help config.trusted` for more details.
    81 
    81 
    82 Per-user configuration file(s) are for the user running Mercurial. On
    82 Per-user configuration file(s) are for the user running Mercurial. On
    83 Windows 9x, ``%HOME%`` is replaced by ``%APPDATA%``. Options in these
    83 Windows 9x, ``%HOME%`` is replaced by ``%APPDATA%``. Options in these
    84 files apply to all Mercurial commands executed by this user in any
    84 files apply to all Mercurial commands executed by this user in any
    85 directory. Options in these files override per-system and per-installation
    85 directory. Options in these files override per-system and per-installation
   272 
   272 
   273 ``annotate``
   273 ``annotate``
   274 ------------
   274 ------------
   275 
   275 
   276 Settings used when displaying file annotations. All values are
   276 Settings used when displaying file annotations. All values are
   277 Booleans and default to False. See ``diff`` section for related
   277 Booleans and default to False. See :hg:`help config.diff` for
   278 options for the diff command.
   278 related options for the diff command.
   279 
   279 
   280 ``ignorews``
   280 ``ignorews``
   281     Ignore white space when comparing lines.
   281     Ignore white space when comparing lines.
   282 
   282 
   283 ``ignorewsamount``
   283 ``ignorewsamount``
   290 ``auth``
   290 ``auth``
   291 --------
   291 --------
   292 
   292 
   293 Authentication credentials for HTTP authentication. This section
   293 Authentication credentials for HTTP authentication. This section
   294 allows you to store usernames and passwords for use when logging
   294 allows you to store usernames and passwords for use when logging
   295 *into* HTTP servers. See the ``[web]`` configuration section if
   295 *into* HTTP servers. See :hg:`help config.web` if
   296 you want to configure *who* can login to your HTTP server.
   296 you want to configure *who* can login to your HTTP server.
   297 
   297 
   298 Each line has the following format::
   298 Each line has the following format::
   299 
   299 
   300     <name>.<argument> = <value>
   300     <name>.<argument> = <value>
   535 
   535 
   536 ``diff``
   536 ``diff``
   537 --------
   537 --------
   538 
   538 
   539 Settings used when displaying diffs. Everything except for ``unified``
   539 Settings used when displaying diffs. Everything except for ``unified``
   540 is a Boolean and defaults to False. See ``annotate`` section for
   540 is a Boolean and defaults to False. See :hg:`help config.annotate`
   541 related options for the annotate command.
   541 for related options for the annotate command.
   542 
   542 
   543 ``git``
   543 ``git``
   544     Use git extended diff format.
   544     Use git extended diff format.
   545 
   545 
   546 ``nobinary``
   546 ``nobinary``
   747   ``$HG_NODE``. URL that was source of changes came is in ``$HG_URL``.
   747   ``$HG_NODE``. URL that was source of changes came is in ``$HG_URL``.
   748 
   748 
   749 ``outgoing``
   749 ``outgoing``
   750   Run after sending changes from local repository to another. ID of
   750   Run after sending changes from local repository to another. ID of
   751   first changeset sent is in ``$HG_NODE``. Source of operation is in
   751   first changeset sent is in ``$HG_NODE``. Source of operation is in
   752   ``$HG_SOURCE``; see "preoutgoing" hook for description.
   752   ``$HG_SOURCE``; Also see :hg:`help config.preoutgoing` hook.
   753 
   753 
   754 ``post-<command>``
   754 ``post-<command>``
   755   Run after successful invocations of the associated command. The
   755   Run after successful invocations of the associated command. The
   756   contents of the command line are passed as ``$HG_ARGS`` and the result
   756   contents of the command line are passed as ``$HG_ARGS`` and the result
   757   code in ``$HG_RESULT``. Parsed command line arguments are passed as
   757   code in ``$HG_RESULT``. Parsed command line arguments are passed as
   829   ``HG_PHASES_MOVED`` to ``1``, etc.
   829   ``HG_PHASES_MOVED`` to ``1``, etc.
   830 
   830 
   831 ``txnclose``
   831 ``txnclose``
   832   Run after any repository transaction has been committed. At this
   832   Run after any repository transaction has been committed. At this
   833   point, the transaction can no longer be rolled back. The hook will run
   833   point, the transaction can no longer be rolled back. The hook will run
   834   after the lock is released. See ``pretxnclose`` docs for details about
   834   after the lock is released. See :hg:`help config.pretxnclose` docs for
   835   available variables.
   835   details about available variables.
   836 
   836 
   837 ``txnabort``
   837 ``txnabort``
   838   Run when a transaction is aborted. See ``pretxnclose`` docs for details about
   838   Run when a transaction is aborted. See :hg:`help config.pretxnclose`
   839   available variables.
   839   docs for details about available variables.
   840 
   840 
   841 ``pretxnchangegroup``
   841 ``pretxnchangegroup``
   842   Run after a changegroup has been added via push, pull or unbundle,
   842   Run after a changegroup has been added via push, pull or unbundle,
   843   but before the transaction has been committed. Changegroup is
   843   but before the transaction has been committed. Changegroup is
   844   visible to hook program. This lets you validate incoming changes
   844   visible to hook program. This lets you validate incoming changes