Mercurial > hg
diff mercurial/help/config.txt @ 11408:534c69494918
Explain trust near hgrc in config help
author | timeless <timeless@gmail.com> |
---|---|
date | Fri, 21 May 2010 12:51:55 +0300 |
parents | 6a539853d4c0 |
children | 86b5cc1e8be8 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Wed Jun 16 17:43:35 2010 +0200 +++ b/mercurial/help/config.txt Fri May 21 12:51:55 2010 +0300 @@ -22,6 +22,19 @@ - ``<install-root>/etc/mercurial/hgrc`` - ``<install-root>/etc/mercurial/hgrc.d/*.rc`` +If there is a per-repository configuration file which is not owned by +the active user, Mercurial will warn you that the file is skipped:: + + not trusting file <repo>/.hg/hgrc from untrusted user USER, group GROUP + +If this bothers you, the warning can be silenced (the file would still +be ignored) or trust can be established. Use one of the following +settings, the syntax is explained below: + +- ``ui.report_untrusted = False`` +- ``trusted.users = USER`` +- ``trusted.groups = GROUP`` + 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::