rust-status: highlight a bug in Rust-augmented status stable
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 04 May 2021 10:33:36 +0200
branchstable
changeset 47316 c365850b6114
parent 47183 8be95673eb8a
child 47317 c8f62920f07a
rust-status: highlight a bug in Rust-augmented status This was reported in issue6514, confirmed with this test reproduction. This will be fixed with the next changeset. Differential Revision: https://phab.mercurial-scm.org/D10638
tests/test-status.t
--- 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 !)