comparison tests/test-walk @ 4304:702f48570eb3

change relglob: patterns to be consistent with glob: patterns With this change, you have to use "hg locate 'hgweb/**'" to locate all the files in directories named hgweb. OTOH, "hg locate '*l'" will locate only files that end with "l" - e.g. a file called "hg.py" will not be matched just because it's in a directory whose name ends with "l" (e.g. "mercurial").
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 04 Apr 2007 04:22:06 -0300
parents 6cecaec07cc9
children d4f0405fadac
comparison
equal deleted inserted replaced
4303:6cecaec07cc9 4304:702f48570eb3
75 debugwalk 'glob:**e' 75 debugwalk 'glob:**e'
76 debugwalk 're:.*[kb]$' 76 debugwalk 're:.*[kb]$'
77 debugwalk path:beans/black 77 debugwalk path:beans/black
78 debugwalk path:beans//black 78 debugwalk path:beans//black
79 debugwalk relglob:Procyonidae 79 debugwalk relglob:Procyonidae
80 debugwalk relglob:Procyonidae/ fennel 80 debugwalk 'relglob:Procyonidae/**'
81 debugwalk 'relglob:Procyonidae/**' fennel
81 debugwalk beans 'glob:beans/*' 82 debugwalk beans 'glob:beans/*'
82 debugwalk 'glob:mamm**' 83 debugwalk 'glob:mamm**'
83 debugwalk 'glob:mamm**' fennel 84 debugwalk 'glob:mamm**' fennel
84 debugwalk 'glob:j*' 85 debugwalk 'glob:j*'
85 debugwalk NOEXIST 86 debugwalk NOEXIST