Steve Losh avatar Steve Losh committed a360d59

Add a note about trust.

Comments (0)

Files changed (1)

beginner/2009-09-30-configuring-mercurial.html

 config file and overrides it.
 
 
+### Who Does Mercurial Trust?
+
+As you start to use Mercurial more and more, you may eventually run into error
+messages that look like this:
+
+    Not trusting file /home/alice/repo/.hg/hgrc from untrusted user alice, group users
+
+When you see a message like this, Mercurial is telling you that there's an
+`hgrc` file that it would normally use, but it's owned by someone else that may
+have made nefarious changes to it.
+
+To learn more about this situation you should take a look at the [Trust][] page
+on the Mercurial wiki.
+
+[Trust]: http://mercurial.selenic.com/wiki/Trust
+
+
 ### Learn More
 
 This tip just showed you where to find config files and how to edit them.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.