Mercurial > hg
view tests/test-hgignore @ 1485:625f3f13d7be
mention running multiple hooks in the doc
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 31 Oct 2005 10:47:27 -0800 |
parents | e6dd91a88b57 |
children | 91c0e8d7ddcf |
line wrap: on
line source
#!/bin/sh hg init touch a.o touch a.c touch syntax mkdir dir touch dir/a.o touch dir/b.o touch dir/c.o hg add dir/a.o hg commit -m 0 hg add dir/b.o echo "--" ; hg status echo "*.o" > .hgignore echo "--" ; hg status echo ".*\.o" > .hgignore echo "--" ; hg status # XXX: broken #echo "glob:**.o" > .hgignore #echo "--" ; hg status # #echo "glob:*.o" > .hgignore #echo "--" ; hg status echo "syntax: invalid" > .hgignore echo "--" ; hg status echo "syntax: glob" > .hgignore echo "*.o" >> .hgignore echo "--" ; hg status echo "relglob:syntax*" > .hgignore echo "--" ; hg status echo "relglob:*" > .hgignore echo "--" ; hg status