annotate .hgignore @ 454:2f24474b1f84

move-file: new function for emacs to move a file and fix up the buffer
author Augie Fackler <raf@durin42.com>
date Sat, 10 Dec 2016 18:43:17 -0500
parents 7f7255eb9ac3
children ef22f075b638
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
337
5ce7678830fa ipython: stop tracking anything in .ipython, since I'm not customizing it
Augie Fackler <raf@durin42.com>
parents: 317
diff changeset
4 ^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh)
142
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
5
206
5599a864b888 hgrc: look for a machine-specific hgrc as well
Augie Fackler <durin42@gmail.com>
parents: 191
diff changeset
6 # above RE fails to exclude some ignorable things
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$
206
5599a864b888 hgrc: look for a machine-specific hgrc as well
Augie Fackler <durin42@gmail.com>
parents: 191
diff changeset
11 ^\.hgrc-[^/]+$
147
6d95039c6544 hgignore: a couple more directories
Augie Fackler <durin42@gmail.com>
parents: 142
diff changeset
12
142
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
13 # 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
14 ^\..*(?=history|machine).*
279
0b718e51de16 hgignore: ignore machine-specific .elisp/settings/ files
Augie Fackler <raf@durin42.com>
parents: 209
diff changeset
15 \.elisp/settings/.*local.*\.el
352
3111d61151be hgignore: ignore -local things in .shell.d
Augie Fackler <raf@durin42.com>
parents: 337
diff changeset
16 \.shell.d/.*-local\.(ba|z)?sh
142
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 # No pid files
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
19 .*\.pid$
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
20
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
21 #one-off file/directory exclusions
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
22 hgwebdir\.conf
209
c28a1e2c746a hgignore: ignore Applications as well
Augie Fackler <durin42@gmail.com>
parents: 206
diff changeset
23 ^Applications
449
7f7255eb9ac3 hgignore: ignore some more directories things insist on creating
Augie Fackler <raf@durin42.com>
parents: 406
diff changeset
24 ^Blizzard
7f7255eb9ac3 hgignore: ignore some more directories things insist on creating
Augie Fackler <raf@durin42.com>
parents: 406
diff changeset
25 ^VirtualBox VMs
142
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
26 ^Desktop
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
27 ^Documents
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
28 ^Downloads
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
29 ^Dropbox
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
30 ^Library
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
31 ^Misc. Stuff
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
32 ^Movies
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
33 ^Music
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
34 ^Pictures
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
35 ^Programming
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
36 ^Public
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
37 ^Sites
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
38 ^durin42_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
39 ^public_html
daceba28ace4 hgignore: everyone stand back! I know regular expressions!
Augie Fackler <durin42@gmail.com>
parents: 131
diff changeset
40 ^www
317
5e3ea3f497af hgignore: also ignore ~/{bin,lib}
Augie Fackler <raf@durin42.com>
parents: 279
diff changeset
41 ^lib$
5e3ea3f497af hgignore: also ignore ~/{bin,lib}
Augie Fackler <raf@durin42.com>
parents: 279
diff changeset
42 ^bin$
406
68a57a12c18b ignore: also ignore share in home dir
Augie Fackler <raf@durin42.com>
parents: 352
diff changeset
43 ^share$