annotate .hgignore @ 200:a563c21235ad

vcs-functions: add mq-snapshot
author Augie Fackler <durin42@gmail.com>
date Tue, 13 Apr 2010 14:49:00 -0500
parents 01fbf7dacb39
children 5599a864b888
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
1 syntax:re
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
2
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
3 # complex regex to ignore all but what I want from dotfiles
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
4 ^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh)
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
5
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
6 # above RE fails to exclude viminfo
191
01fbf7dacb39 hgignore: add a dir that gets missed by the insane regex
Augie Fackler <durin42@gmail.com>
parents: 147
diff changeset
7 ^\.viminfo$
147
6d95039c6544 hgignore: a couple more directories
Augie Fackler <durin42@gmail.com>
parents: 142
diff changeset
8 ^\.hg\.
191
01fbf7dacb39 hgignore: add a dir that gets missed by the insane regex
Augie Fackler <durin42@gmail.com>
parents: 147
diff changeset
9 ^\.ipython/db$
01fbf7dacb39 hgignore: add a dir that gets missed by the insane regex
Augie Fackler <durin42@gmail.com>
parents: 147
diff changeset
10 ^\.python-eggs$
147
6d95039c6544 hgignore: a couple more directories
Augie Fackler <durin42@gmail.com>
parents: 142
diff changeset
11
142
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
12 # above RE fails to exclude history or machine-specific files
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
13 ^\..*(?=history|machine).*
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
14
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
15 # No pid files
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
16 .*\.pid$
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
17
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
18 #one-off file/directory exclusions
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
19 hgwebdir\.conf
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
20 ^Desktop
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
21 ^Documents
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
22 ^Downloads
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
23 ^Dropbox
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
24 ^Library
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
25 ^Misc. Stuff
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
26 ^Movies
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
27 ^Music
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
28 ^Pictures
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
29 ^Programming
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
30 ^Public
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
31 ^Sites
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
32 ^durin42_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
33 ^public_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
34 ^www