##// END OF EJS Templates
test: move ignore test run into a subdirectory...
Durham Goode -
r25869:a72e304d stable
parent child Browse files
Show More
@@ -1,4 +1,5 b''
1 $ hg init
1 $ hg init ignorerepo
2 $ cd ignorerepo
2 3
3 4 Issue562: .hgignore requires newline at end:
4 5
@@ -44,7 +45,7 b' Should display baz only:'
44 45
45 46 $ echo "*.o" > .hgignore
46 47 $ hg status
47 abort: $TESTTMP/.hgignore: invalid pattern (relre): *.o (glob)
48 abort: $TESTTMP/ignorerepo/.hgignore: invalid pattern (relre): *.o (glob)
48 49 [255]
49 50
50 51 $ echo ".*\.o" > .hgignore
@@ -69,7 +70,7 b' Test that patterns from ui.ignore option'
69 70 $ echo > .hgignore
70 71 $ cat >> $HGRCPATH << EOF
71 72 > [ui]
72 > ignore.other = $TESTTMP/.hg/testhgignore
73 > ignore.other = $TESTTMP/ignorerepo/.hg/testhgignore
73 74 > EOF
74 75 $ echo "glob:**.o" > .hg/testhgignore
75 76 $ hg status
@@ -107,7 +108,7 b' Test relative ignore path (issue4473):'
107 108
108 109 $ echo "syntax: invalid" > .hgignore
109 110 $ hg status
110 $TESTTMP/.hgignore: ignoring invalid syntax 'invalid' (glob)
111 $TESTTMP/ignorerepo/.hgignore: ignoring invalid syntax 'invalid' (glob)
111 112 A dir/b.o
112 113 ? .hgignore
113 114 ? a.c
General Comments 0
You need to be logged in to leave comments. Login now