Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-hgignore @ 5029:ac97e065cfc7
Fix re: and glob: patterns in .hgignore (reported by Brad Schick)
relglob: and relre: were already detected for a long time, so
I kept this undocumented functionality, especially as it was already
tested in test-hgignore.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 30 Jul 2007 20:01:16 +0200 |
parents | 4e521a3ee5eb |
children |
comparison
equal
deleted
inserted
replaced
4999:60c54154ec4c | 5029:ac97e065cfc7 |
---|---|
38 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/' | 38 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/' |
39 | 39 |
40 echo ".*\.o" > .hgignore | 40 echo ".*\.o" > .hgignore |
41 echo "--" ; hg status | 41 echo "--" ; hg status |
42 | 42 |
43 # XXX: broken | 43 echo "glob:**.o" > .hgignore |
44 #echo "glob:**.o" > .hgignore | 44 echo "--" ; hg status |
45 #echo "--" ; hg status | 45 |
46 # | 46 echo "glob:*.o" > .hgignore |
47 #echo "glob:*.o" > .hgignore | 47 echo "--" ; hg status |
48 #echo "--" ; hg status | 48 |
49 echo "syntax: glob" > .hgignore | |
50 echo "re:.*\.o" >> .hgignore | |
51 echo "--" ; hg status | |
49 | 52 |
50 echo "syntax: invalid" > .hgignore | 53 echo "syntax: invalid" > .hgignore |
51 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/' | 54 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/' |
52 | 55 |
53 echo "syntax: glob" > .hgignore | 56 echo "syntax: glob" > .hgignore |