Patchwork D10638: rust-status: highlight a bug in Rust-augmented status

login
register
mail settings
Submitter phabricator
Date May 4, 2021, 8:48 a.m.
Message ID <differential-rev-PHID-DREV-5wqiluznakgpxb5rxhmf-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48957/
State New
Headers show

Comments

phabricator - May 4, 2021, 8:48 a.m.
Alphare created this revision.
Alphare added a comment.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.


  Pending CI refresh

REVISION SUMMARY
  This was reported in issue6514, confirmed with this test reproduction.
  This will be fixed with the next changeset.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D10638

AFFECTED FILES
  tests/test-status.t

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 @@ 
   $ 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 !)