tests/test-status.t
branchstable
changeset 47316 c365850b6114
parent 46489 fb6eca7b8c63
child 47317 c8f62920f07a
--- a/tests/test-status.t	Fri May 07 10:39:58 2021 +0200
+++ b/tests/test-status.t	Tue May 04 10:33:36 2021 +0200
@@ -691,3 +691,21 @@
   $ hg add a.py b.rs
   $ hg st -aI "*.py"
   A a.py
+
+Check using include flag while listing ignored composes correctly (issue6514)
+
+  $ cd ..
+  $ hg init issue6514
+  $ cd issue6514
+  $ mkdir ignored-folder
+  $ touch A.hs B.hs C.hs ignored-folder/other.txt ignored-folder/ctest.hs
+  $ cat >.hgignore <<EOF
+  > A.hs
+  > B.hs
+  > ignored-folder/
+  > EOF
+  $ hg st -i -I 're:.*\.hs$'
+  I A.hs
+  I B.hs
+  I ignored-folder/ctest.hs
+  I ignored-folder/other.txt (known-bad-output rust !)