changeset 47316:c365850b6114 stable

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
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 04 May 2021 10:33:36 +0200
parents 8be95673eb8a
children c8f62920f07a
files tests/test-status.t
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 !)