# HG changeset patch # User Adrian Buehlmann # Date 1341181882 -7200 # Node ID d8c76c82d012f974450bd787cc9c2406e2d562b2 # Parent b52d08b930c5f53dcc9aa3a66717c84470b2f276 help: explain effect of .hgignore on tracked files diff -r b52d08b930c5 -r d8c76c82d012 mercurial/help/hgignore.txt --- a/mercurial/help/hgignore.txt Sun Jul 01 10:06:16 2012 +0200 +++ b/mercurial/help/hgignore.txt Mon Jul 02 00:31:22 2012 +0200 @@ -33,6 +33,11 @@ commands support the ``-I`` and ``-X`` options; see :hg:`help ` and :hg:`help patterns` for details. +Files that are already tracked are not affected by .hgignore, even +if they appear in .hgignore. An untracked file X can be explicitly +added with :hg:`add X`, even if X would be excluded by a pattern +in .hgignore. + Syntax ------