Mercurial > hg
comparison tests/test-hgignore.t @ 33214:7367b76ef75c
tests: add line specific for testing with fsmonitor
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 03 Jul 2017 02:52:39 +0900 |
parents | 75be14993fda |
children | cc4632679cf9 |
comparison
equal
deleted
inserted
replaced
33213:0bec70c1df15 | 33214:7367b76ef75c |
---|---|
176 | 176 |
177 $ cd .. | 177 $ cd .. |
178 | 178 |
179 Check patterns that match only the directory | 179 Check patterns that match only the directory |
180 | 180 |
181 "(fsmonitor !)" below assumes that fsmonitor is enabled with | |
182 "walk_on_invalidate = false" (default), which doesn't involve | |
183 re-walking whole repository at detection of .hgignore change. | |
184 | |
181 $ echo "^dir\$" > .hgignore | 185 $ echo "^dir\$" > .hgignore |
182 $ hg status | 186 $ hg status |
183 A dir/b.o | 187 A dir/b.o |
184 ? .hgignore | 188 ? .hgignore |
185 ? a.c | 189 ? a.c |
186 ? a.o | 190 ? a.o |
191 ? dir/c.o (fsmonitor !) | |
187 ? syntax | 192 ? syntax |
188 | 193 |
189 Check recursive glob pattern matches no directories (dir/**/c.o matches dir/c.o) | 194 Check recursive glob pattern matches no directories (dir/**/c.o matches dir/c.o) |
190 | 195 |
191 $ echo "syntax: glob" > .hgignore | 196 $ echo "syntax: glob" > .hgignore |