Mercurial > dotfiles
view .hgignore @ 283:533bde18976e
find_dvcs_root: new function to find dvcs root dir more safely
This compares the discovered root dir lengths in order to give the
most specific repository path possible.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 27 Mar 2012 13:41:40 -0500 |
parents | 0b718e51de16 |
children | 5e3ea3f497af |
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).* \.elisp/settings/.*local.*\.el # 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