Mercurial > hg
view tests/test-nested-repo @ 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 | 890e285c52a1 |
children | d316124ebbea |
line wrap: on
line source
#!/bin/sh hg init a cd a hg init b echo x > b/x echo '# should print nothing' hg st echo '# should print ? b/x' hg st b/x hg add b/x echo '# should print A b/x' hg st echo '# should forget b/x' hg revert --all echo '# should print nothing' hg st b