diff .hgignore @ 206:5599a864b888

hgrc: look for a machine-specific hgrc as well
author Augie Fackler <durin42@gmail.com>
date Tue, 11 May 2010 15:32:17 -0500
parents 01fbf7dacb39
children c28a1e2c746a
line wrap: on
line diff
--- a/.hgignore
+++ b/.hgignore
@@ -3,11 +3,12 @@ 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 viminfo
+# 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).*