comparison .hgignore @ 206:5599a864b888

hgrc: look for a machine-specific hgrc as well
author Augie Fackler <durin42@gmail.com>
date Tue, 11 May 2010 15:32:17 -0500
parents 01fbf7dacb39
children c28a1e2c746a
comparison
equal deleted inserted replaced
203:e2579eeb06ba 206:5599a864b888
1 syntax:re 1 syntax:re
2 2
3 # complex regex to ignore all but what I want from dotfiles 3 # complex regex to ignore all but what I want from dotfiles
4 ^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh) 4 ^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh)
5 5
6 # above RE fails to exclude viminfo 6 # above RE fails to exclude some ignorable things
7 ^\.viminfo$ 7 ^\.viminfo$
8 ^\.hg\. 8 ^\.hg\.
9 ^\.ipython/db$ 9 ^\.ipython/db$
10 ^\.python-eggs$ 10 ^\.python-eggs$
11 ^\.hgrc-[^/]+$
11 12
12 # above RE fails to exclude history or machine-specific files 13 # above RE fails to exclude history or machine-specific files
13 ^\..*(?=history|machine).* 14 ^\..*(?=history|machine).*
14 15
15 # No pid files 16 # No pid files