# HG changeset patch # User timeless # Date 1274435515 -10800 # Node ID 534c6949491853cd17c1b627457871fd376903c6 # Parent f5be44090ba8adc40a104f7b762d7fa108a2fa62 Explain trust near hgrc in config help diff -r f5be44090ba8 -r 534c69494918 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 @@ - ``/etc/mercurial/hgrc`` - ``/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 /.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::