##// END OF EJS Templates
rhg: add a test involving hgignore lookaround
Arseniy Alekseyev -
r50433:b51e5c2a stable
parent child Browse files
Show More
@@ -73,6 +73,24 b' Should display baz only:'
73 [255]
73 [255]
74 #endif
74 #endif
75
75
76 $ echo 're:^(?!a).*\.o$' > .hgignore
77 #if no-rhg
78 $ hg status
79 A dir/b.o
80 ? .hgignore
81 ? a.c
82 ? a.o
83 ? syntax
84 #endif
85 #if rhg
86 $ hg status
87 Unsupported syntax regex parse error:
88 ^(?:^(?!a).*\.o$)
89 ^^^
90 error: look-around, including look-ahead and look-behind, is not supported
91 [255]
92 #endif
93
76 Ensure given files are relative to cwd
94 Ensure given files are relative to cwd
77
95
78 $ echo "dir/.*\.o" > .hgignore
96 $ echo "dir/.*\.o" > .hgignore
General Comments 0
You need to be logged in to leave comments. Login now