HGIGNORE(5) (Mercurial) (NAME) hgignore - (Mercurial) (SYNOPSIS) .hgignore . (DESCRIPTION) (working directory) . . .hgignore . .hgignore . push pull . .hgignore . file.c a/b/file.c . file.c .hgignore a/b/file.c a/b a . . ignore [ui] hg help config . -I -X hg help hg help patterns . .hgignore .hgignore . X hg add X X .hgignore . (SYNTAX) . . # \ (escape) . . (regular expressions) Python/Perl . : syntax: NAME NAME : regexp Python/Perl. glob (Shell-style glob). rootglob glob ( ). . glob regexp . glob *.c .c regexp \.c$ . regexp ^ . glob rootglob . subinclude:path/to/subdir/.hgignore .hgignore .hgignore . subinclude: include: hg help patterns . (Note) .hgignore . hg help patterns . (EXAMPLES) : # use glob syntax. syntax: glob *.elc *.pyc *~ # switch to regexp syntax. syntax: regexp ^\.pc/ (DEBUGGING) debugignore . hg help debugignore . (AUTHORS) Vadim Gelfer Olivia Mackall . (SEE ALSO) hg(1), hgrc(5) (COPYING) Vadim Gelfer 2006 . Olivia Mackall 2005-2026 . (GNU General Public License) . (AUTHORS) Vadim Gelfer : Mercurial HGIGNORE(5)