Explain trust near hgrc in config help
authortimeless <timeless@gmail.com>
Fri, 21 May 2010 12:51:55 +0300
changeset 11408 534c69494918
parent 11407 f5be44090ba8
child 11409 7a6ac83a15b0
Explain trust near hgrc in config help
mercurial/help/config.txt
--- 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::