# HG changeset patch # User Martin Geisler # Date 1248170792 -7200 # Node ID 3a319bc8906d064f26ccbe46e468aa0b3dd9c009 # Parent 41bc92142f0636a8d8d820944499c77217574190 hgignore.5: expanded description - explain that .hgignore must be created manually - hint that it is typically put under revision control diff -r 41bc92142f06 -r 3a319bc8906d doc/hgignore.5.txt --- a/doc/hgignore.5.txt Mon Jul 20 19:15:44 2009 -0500 +++ b/doc/hgignore.5.txt Tue Jul 21 12:06:32 2009 +0200 @@ -18,6 +18,14 @@ DESCRIPTION ----------- +The working directory of a Mercurial repository will often contain +files that should not be tracked by Mercurial. These include backup +files created by editors and build products created by compilers. +These files can be ignored by listing them in a `.hgignore` file in +the root of the working directory. The `.hgignore` file must be +created manually. It is typically put under version control, so that +the settings will propagate to other repositories with push and pull. + An untracked file is ignored if its path relative to the repository root directory, or any prefix path of that path, is matched against any pattern in `.hgignore`.