comparison tests/test-walk @ 4187:9814d600011e

util._matcher: unify pattern normalization This should fix issue347. It also highlights one issue with the directory walking code when you have an --include pattern that matches the end of a filename. This is fixed by the next patch.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 10 Mar 2007 23:00:53 -0300
parents 02de0f98ca33
children 0d51eb296fb9 6cecaec07cc9
comparison
equal deleted inserted replaced
4186:02de0f98ca33 4187:9814d600011e
33 hg addremove 33 hg addremove
34 hg commit -m "commit #0" -d "1000000 0" 34 hg commit -m "commit #0" -d "1000000 0"
35 debugwalk 35 debugwalk
36 debugwalk -I. 36 debugwalk -I.
37 chdir mammals 37 chdir mammals
38 debugwalk
39 debugwalk -X ../beans
40 debugwalk -I '*k'
41 debugwalk -I 'glob:*k'
42 debugwalk -I 'relglob:*k'
43 debugwalk -I 'relglob:*k' .
44 debugwalk -I 're:.*k$'
45 debugwalk -I 'relre:.*k$'
46 debugwalk -I 'path:beans'
47 debugwalk -I 'relpath:../beans'
38 debugwalk . 48 debugwalk .
39 debugwalk -I. 49 debugwalk -I.
40 debugwalk Procyonidae 50 debugwalk Procyonidae
41 chdir Procyonidae 51 chdir Procyonidae
42 debugwalk . 52 debugwalk .