← Back to team overview

dolfin team mailing list archive

Update .hgignore

 

.hgignore didn't ignore a lot of build/output files, and was also not correct
in that it used non-anchored regexps so that for example anything with a ".o"
or an ".a" anywhere in its name was ignored.

Fixed and updated.

-j.

# HG changeset patch
# User "Joachim B Haga <jobh@xxxxxxxxx>"
# Date 1206888574 -7200
# Node ID 4deead0f326ca1e7897af6979d403ec3023b0696
# Parent  2925a65e6929d0df4ebbb87eada40938b78d6879
Fix and update .hgignore

Some regexps not properly anchored and thus overly broad, and
update to ignore most normal build files as well as demo outputs.

diff -r 2925a65e6929 -r 4deead0f326c .hgignore
--- a/.hgignore	Sun Mar 30 14:42:18 2008 +0200
+++ b/.hgignore	Sun Mar 30 16:49:34 2008 +0200
@@ -1,12 +1,24 @@
-(^|/)CVS($|/)
-(^|/)\.hg($|/)
-^tailor.log$
-^tailor.state$
-^tailor.state.journal$
-.*\.o
-.*\.Plo
-.*\.Po
-.*\.lo
-.*\.la
-.*\.a
-.*~
+syntax: glob
+*.o
+*.Plo
+*.Po
+*.lo
+*.la
+*.a
+*.os
+*~
+*.pyc
+*.so{,.0}
+*.pc
+
+syntax: regexp
+^\.hg/
+^local/
+^dolfin\.conf$
+^dolfin/swig/.*\.(py|cc|h)$
+
+^scons/\.sconsign\.dblite$
+^scons/options\.cache$
+^scons/.*\.log$
+
+^demo/.*/(cpp|python)/.*\.(pvd|vtu|xml)$