Mercurial > hg
comparison tests/test-hgignore.t @ 27757:6ff556ef5a46
test-hgignore: add globs for Windows
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 12 Jan 2016 22:40:40 -0500 |
parents | f2da9bb87ae0 |
children | 8515b813976b |
comparison
equal
deleted
inserted
replaced
27756:598e21079884 | 27757:6ff556ef5a46 |
---|---|
166 $ hg debugignore | 166 $ hg debugignore |
167 (?:(?:|.*/)[^/]*(?:/|$)) | 167 (?:(?:|.*/)[^/]*(?:/|$)) |
168 | 168 |
169 $ hg debugignore b.o | 169 $ hg debugignore b.o |
170 b.o is ignored | 170 b.o is ignored |
171 (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: '*') | 171 (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: '*') (glob) |
172 | 172 |
173 $ cd .. | 173 $ cd .. |
174 | 174 |
175 Check patterns that match only the directory | 175 Check patterns that match only the directory |
176 | 176 |
197 ? syntax | 197 ? syntax |
198 $ hg debugignore a.c | 198 $ hg debugignore a.c |
199 a.c is not ignored | 199 a.c is not ignored |
200 $ hg debugignore dir/c.o | 200 $ hg debugignore dir/c.o |
201 dir/c.o is ignored | 201 dir/c.o is ignored |
202 (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 2: 'dir/**/c.o') | 202 (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 2: 'dir/**/c.o') (glob) |
203 | 203 |
204 Check using 'include:' in ignore file | 204 Check using 'include:' in ignore file |
205 | 205 |
206 $ hg purge --all --config extensions.purge= | 206 $ hg purge --all --config extensions.purge= |
207 $ touch foo.included | 207 $ touch foo.included |