diff tests/test-walk @ 6032:b41f0d6a74fc

dirstate: don't walk ignored directories With a pattern like '^directory$' in .hgignore, a "hg status directory" would still walk "directory" and all its subdirs. This is the first half of a fix for issue886.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 08 Feb 2008 18:07:55 -0200
parents d4f0405fadac
children cfb4a51da7d5
line wrap: on
line diff
--- a/tests/test-walk	Fri Feb 08 18:07:55 2008 -0200
+++ b/tests/test-walk	Fri Feb 08 18:07:55 2008 -0200
@@ -92,6 +92,13 @@
 debugwalk fenugreek
 touch new
 debugwalk new
+
+mkdir ignored
+touch ignored/file
+echo '^ignored$' > .hgignore
+debugwalk ignored
+debugwalk ignored/file
+
 chdir ..
 debugwalk -R t t/mammals/skunk
 mkdir t2