tests/test-hgignore.t
branchstable
changeset 19128 f4930b533d55
parent 16913 f2719b387380
child 21815 a4b67bf1f0a5
--- a/tests/test-hgignore.t	Thu May 02 11:26:43 2013 -0700
+++ b/tests/test-hgignore.t	Fri May 03 09:44:50 2013 -0700
@@ -124,3 +124,13 @@
   (?:(?:|.*/)[^/]*(?:/|$))
 
   $ cd ..
+
+Check patterns that match only the directory
+
+  $ echo "^dir\$" > .hgignore
+  $ hg status
+  A dir/b.o
+  ? .hgignore
+  ? a.c
+  ? a.o
+  ? syntax