Mercurial > hg
diff tests/test-purge @ 5517:98d5f9b95699
purge: simplify safety net for case mangling filesystems
Relying on the exact return of statwalk would cause us to abort
when there was at least one tracked file inside an ignored directory.
This patch forces an extra walk of the whole working directory even
on sane filesystems, where it wouldn't be needed.
Fixes issue621.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 09 Nov 2007 20:21:35 -0200 |
parents | ca4971347e0a |
children | 55c71226eceb |
line wrap: on
line diff
--- a/tests/test-purge Wed Nov 07 22:57:28 2007 +0100 +++ b/tests/test-purge Fri Nov 09 20:21:35 2007 -0200 @@ -101,6 +101,13 @@ hg revert --all --quiet ls +echo '% tracked file in ignored directory (issue621)' +echo directory >> .hgignore +hg ci -m 'ignore directory' +touch untracked_file +hg purge -p +hg purge -v + echo % skip excluded files touch excluded_file hg purge -p -X excluded_file