view .hgignore @ 262:3350b219b653

wcroot: use git to directly find repo root. git cleverly hides this under git-rev-parse, which isn't a place I'd have ever thought to look. Thanks to Jacob Lee for the tip.
author Augie Fackler <durin42@gmail.com>
date Fri, 17 Jun 2011 09:46:17 -0500
parents c28a1e2c746a
children 0b718e51de16
line wrap: on
line source

syntax:re

# complex regex to ignore all but what I want from dotfiles
^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh)

# above RE fails to exclude some ignorable things
^\.viminfo$
^\.hg\.
^\.ipython/db$
^\.python-eggs$
^\.hgrc-[^/]+$

# above RE fails to exclude history or machine-specific files
^\..*(?=history|machine).*

# No pid files
.*\.pid$

#one-off file/directory exclusions
hgwebdir\.conf
^Applications
^Desktop
^Documents
^Downloads
^Dropbox
^Library
^Misc. Stuff
^Movies
^Music
^Pictures
^Programming
^Public
^Sites
^durin42_html
^public_html
^www