# HG changeset patch # User Raphaël Gomès # Date 2021-05-04 08:33:36 # Node ID c365850b611490a5fdb235eb1cea310a542c2f84 # Parent 8be95673eb8a3422b895099650a08ef6cacafbde 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 diff --git a/tests/test-status.t b/tests/test-status.t --- a/tests/test-status.t +++ b/tests/test-status.t @@ -691,3 +691,21 @@ the working directory (issue6483) $ 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 < 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 !)