##// END OF EJS Templates
ui: document the formatted(), interactive() & plain() functions.
ui: document the formatted(), interactive() & plain() functions.

File last commit:

r11016:6a539853 default
r11325:22a73730 default
Show More
config.txt
38 lines | 1.3 KiB | text/plain | TextLexer
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 Mercurial reads configuration data from several files, if they exist.
Below we list the most specific file first.
On Windows, these configuration files are read:
- ``<repo>\.hg\hgrc``
- ``%USERPROFILE%\.hgrc``
Mads Kiilerich
help config: update windows documentation to match implementation...
r11016 - ``%USERPROFILE%\mercurial.ini``
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 - ``%HOME%\.hgrc``
Mads Kiilerich
help config: update windows documentation to match implementation...
r11016 - ``%HOME%\mercurial.ini``
- ``C:\mercurial\mercurial.ini`` (unless regkey or hgrc.d\ or mercurial.ini found)
- ``HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial`` (unless hgrc.d\ or mercurial.ini found)
- ``<hg.exe-dir>\hgrc.d\*.rc`` (unless mercurial.ini found)
- ``<hg.exe-dir>\mercurial.ini``
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999
On Unix, these files are read:
- ``<repo>/.hg/hgrc``
- ``$HOME/.hgrc``
- ``/etc/mercurial/hgrc``
- ``/etc/mercurial/hgrc.d/*.rc``
- ``<install-root>/etc/mercurial/hgrc``
- ``<install-root>/etc/mercurial/hgrc.d/*.rc``
The configuration files for Mercurial use a simple ini-file format. A
configuration file consists of sections, led by a ``[section]`` header
and followed by ``name = value`` entries::
[ui]
username = Firstname Lastname <firstname.lastname@example.net>
verbose = True
Matt Mackall
help: config.txt typo
r10998 The above entries will be referred to as ``ui.username`` and
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 ``ui.verbose``, respectively. Please see the hgrc man page for a full
description of the possible configuration values:
- on Unix-like systems: ``man hgrc``
- online: http://www.selenic.com/mercurial/hgrc.5.html