##// 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 Issue562: .hgignore requires newline at end:
4 Issue562: .hgignore requires newline at end:
4
5
@@ -44,7 +45,7 b' Should display baz only:'
44
45
45 $ echo "*.o" > .hgignore
46 $ echo "*.o" > .hgignore
46 $ hg status
47 $ hg status
47 abort: $TESTTMP/.hgignore: invalid pattern (relre): *.o (glob)
48 abort: $TESTTMP/ignorerepo/.hgignore: invalid pattern (relre): *.o (glob)
48 [255]
49 [255]
49
50
50 $ echo ".*\.o" > .hgignore
51 $ echo ".*\.o" > .hgignore
@@ -69,7 +70,7 b' Test that patterns from ui.ignore option'
69 $ echo > .hgignore
70 $ echo > .hgignore
70 $ cat >> $HGRCPATH << EOF
71 $ cat >> $HGRCPATH << EOF
71 > [ui]
72 > [ui]
72 > ignore.other = $TESTTMP/.hg/testhgignore
73 > ignore.other = $TESTTMP/ignorerepo/.hg/testhgignore
73 > EOF
74 > EOF
74 $ echo "glob:**.o" > .hg/testhgignore
75 $ echo "glob:**.o" > .hg/testhgignore
75 $ hg status
76 $ hg status
@@ -107,7 +108,7 b' Test relative ignore path (issue4473):'
107
108
108 $ echo "syntax: invalid" > .hgignore
109 $ echo "syntax: invalid" > .hgignore
109 $ hg status
110 $ hg status
110 $TESTTMP/.hgignore: ignoring invalid syntax 'invalid' (glob)
111 $TESTTMP/ignorerepo/.hgignore: ignoring invalid syntax 'invalid' (glob)
111 A dir/b.o
112 A dir/b.o
112 ? .hgignore
113 ? .hgignore
113 ? a.c
114 ? a.c
General Comments 0
You need to be logged in to leave comments. Login now