Mercurial > hg
comparison tests/test-hgignore @ 2009:182f500805db
Fix broken hgignore tests due to full path showing up in output.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 26 Mar 2006 22:54:05 +0200 |
parents | 1d7d0c07e8f3 |
children | 4e521a3ee5eb |
comparison
equal
deleted
inserted
replaced
2008:11ffa1267185 | 2009:182f500805db |
---|---|
14 hg add dir/b.o | 14 hg add dir/b.o |
15 | 15 |
16 echo "--" ; hg status | 16 echo "--" ; hg status |
17 | 17 |
18 echo "*.o" > .hgignore | 18 echo "*.o" > .hgignore |
19 echo "--" ; hg status | 19 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/' |
20 | 20 |
21 echo ".*\.o" > .hgignore | 21 echo ".*\.o" > .hgignore |
22 echo "--" ; hg status | 22 echo "--" ; hg status |
23 | 23 |
24 # XXX: broken | 24 # XXX: broken |
27 # | 27 # |
28 #echo "glob:*.o" > .hgignore | 28 #echo "glob:*.o" > .hgignore |
29 #echo "--" ; hg status | 29 #echo "--" ; hg status |
30 | 30 |
31 echo "syntax: invalid" > .hgignore | 31 echo "syntax: invalid" > .hgignore |
32 echo "--" ; hg status | 32 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/' |
33 | 33 |
34 echo "syntax: glob" > .hgignore | 34 echo "syntax: glob" > .hgignore |
35 echo "*.o" >> .hgignore | 35 echo "*.o" >> .hgignore |
36 echo "--" ; hg status | 36 echo "--" ; hg status |
37 | 37 |