Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-walk @ 4185:769bc4af561d
util.*matcher: change default "names" argument
names=['.'] means "include (recursively) only files from the current subdir";
the function then did a hack to walk the whole tree. Clean that up.
This also fixes a problem where "--include ." works in a subdir, but not
on the tree root.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 10 Mar 2007 23:00:51 -0300 |
parents | b1716a1f79c4 |
children | 02de0f98ca33 |
comparison
equal
deleted
inserted
replaced
4184:b1716a1f79c4 | 4185:769bc4af561d |
---|---|
17 echo fiddlehead > fiddlehead | 17 echo fiddlehead > fiddlehead |
18 echo glob:glob > glob:glob | 18 echo glob:glob > glob:glob |
19 hg addremove | 19 hg addremove |
20 hg commit -m "commit #0" -d "1000000 0" | 20 hg commit -m "commit #0" -d "1000000 0" |
21 hg debugwalk | 21 hg debugwalk |
22 hg debugwalk -I. | |
22 cd mammals | 23 cd mammals |
23 hg debugwalk . | 24 hg debugwalk . |
25 hg debugwalk -I. | |
24 hg debugwalk Procyonidae | 26 hg debugwalk Procyonidae |
25 cd Procyonidae | 27 cd Procyonidae |
26 hg debugwalk . | 28 hg debugwalk . |
27 hg debugwalk .. | 29 hg debugwalk .. |
28 cd .. | 30 cd .. |