tests/test-purge
changeset 5517 98d5f9b95699
parent 4691 ca4971347e0a
child 6757 55c71226eceb
--- 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