Mercurial > hg
comparison tests/test-walk @ 4306:6cecaec07cc9
Revert changeset ef1f1a4b2efb; add another test for glob: patterns
With that changeset, it's impossible to use a glob: pattern to match
e.g. all files ending in .py - glob:**.py would also match all files
in a directory called dir.py.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 04 Apr 2007 04:22:05 -0300 |
parents | 9814d600011e |
children | 702f48570eb3 |
comparison
equal
deleted
inserted
replaced
4255:ef1f1a4b2efb | 4306:6cecaec07cc9 |
---|---|
70 # Don't know how to test absolute paths without always getting a false | 70 # Don't know how to test absolute paths without always getting a false |
71 # error. | 71 # error. |
72 #debugwalk `pwd`/beans | 72 #debugwalk `pwd`/beans |
73 #debugwalk `pwd`/.. | 73 #debugwalk `pwd`/.. |
74 debugwalk glob:\* | 74 debugwalk glob:\* |
75 debugwalk 'glob:**e' | |
75 debugwalk 're:.*[kb]$' | 76 debugwalk 're:.*[kb]$' |
76 debugwalk path:beans/black | 77 debugwalk path:beans/black |
77 debugwalk path:beans//black | 78 debugwalk path:beans//black |
78 debugwalk relglob:Procyonidae | 79 debugwalk relglob:Procyonidae |
79 debugwalk relglob:Procyonidae/ fennel | 80 debugwalk relglob:Procyonidae/ fennel |