annotate .hgignore @ 145:a585b0d2b828

Fix this path.
author Augie Fackler <durin42@gmail.com>
date Fri, 25 Sep 2009 22:45:49 -0400
parents daceba28ace4
children 6d95039c6544
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
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
7 \.viminfo
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
8 # 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
9 ^\..*(?=history|machine).*
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
10
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
11 # No pid files
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
12 .*\.pid$
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
13
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
14 #one-off file/directory exclusions
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
15 hgwebdir\.conf
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
16 ^Desktop
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
17 ^Documents
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
18 ^Downloads
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
19 ^Dropbox
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
20 ^Library
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
21 ^Misc. Stuff
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
22 ^Movies
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
23 ^Music
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
24 ^Pictures
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
25 ^Programming
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
26 ^Public
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
27 ^Sites
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
28 ^durin42_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
29 ^public_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
30 ^www