Show More
@@ -64,13 +64,22 b' Check it does not ignore the current dir' | |||||
64 | ? dir/c.o |
|
64 | ? dir/c.o | |
65 | ? syntax |
|
65 | ? syntax | |
66 |
|
66 | |||
67 | $ echo "glob:**.o" > .hgignore |
|
67 | Test that patterns from ui.ignore options are read: | |
|
68 | ||||
|
69 | $ echo > .hgignore | |||
|
70 | $ cat >> $HGRCPATH << EOF | |||
|
71 | > [ui] | |||
|
72 | > ignore.other = $TESTTMP/.hg/testhgignore | |||
|
73 | > EOF | |||
|
74 | $ echo "glob:**.o" > .hg/testhgignore | |||
68 | $ hg status |
|
75 | $ hg status | |
69 | A dir/b.o |
|
76 | A dir/b.o | |
70 | ? .hgignore |
|
77 | ? .hgignore | |
71 | ? a.c |
|
78 | ? a.c | |
72 | ? syntax |
|
79 | ? syntax | |
73 |
|
80 | |||
|
81 | empty out testhgignore | |||
|
82 | $ echo > .hg/testhgignore | |||
74 | $ echo "glob:*.o" > .hgignore |
|
83 | $ echo "glob:*.o" > .hgignore | |
75 | $ hg status |
|
84 | $ hg status | |
76 | A dir/b.o |
|
85 | A dir/b.o |
General Comments 0
You need to be logged in to leave comments.
Login now