Mercurial > dotfiles
comparison .hgignore @ 142:daceba28ace4
hgignore: everyone stand back! I know regular expressions!
This fixes ignores so that certain subdirectories will show me untracked files.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Thu, 17 Sep 2009 10:26:25 -0500 |
| parents | 2432d963cdba |
| children | 6d95039c6544 |
comparison
equal
deleted
inserted
replaced
| 138:c9f70cf1d4c6 | 142:daceba28ace4 |
|---|---|
| 1 syntax:glob | 1 syntax:re |
| 2 hgwebdir.conf | 2 |
| 3 .* | 3 # complex regex to ignore all but what I want from dotfiles |
| 4 *.pid | 4 ^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh) |
| 5 *.pyc | 5 |
| 6 Desktop | 6 # above RE fails to exclude viminfo |
| 7 Documents | 7 \.viminfo |
| 8 Downloads | 8 # above RE fails to exclude history or machine-specific files |
| 9 Dropbox | 9 ^\..*(?=history|machine).* |
| 10 Library | 10 |
| 11 Misc. Stuff | 11 # No pid files |
| 12 Movies | 12 .*\.pid$ |
| 13 Music | 13 |
| 14 Pictures | 14 #one-off file/directory exclusions |
| 15 Programming | 15 hgwebdir\.conf |
| 16 Public | 16 ^Desktop |
| 17 Sites | 17 ^Documents |
| 18 durin42_html | 18 ^Downloads |
| 19 public_html | 19 ^Dropbox |
| 20 www | 20 ^Library |
| 21 ^Misc. Stuff | |
| 22 ^Movies | |
| 23 ^Music | |
| 24 ^Pictures | |
| 25 ^Programming | |
| 26 ^Public | |
| 27 ^Sites | |
| 28 ^durin42_html | |
| 29 ^public_html | |
| 30 ^www |
