Patchwork D9976: status: add test that shows that the Rust implementation has a bug

login
register
mail settings
Submitter phabricator
Date Feb. 10, 2021, 9:27 p.m.
Message ID <differential-rev-PHID-DREV-5rlzy7p6azxp4vmalk3z-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48291/
State Superseded
Headers show

Comments

phabricator - Feb. 10, 2021, 9:27 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

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
@@ -680,3 +680,15 @@ 
   $ cd symlink-repo0
   $ ln -s ../repo0/.hg
   $ hg status
+
+Check using include flag with pattern when status does not need to traverse
+the working directory (issue6483)
+
+  $ cd ..
+  $ hg init issue6483
+  $ cd issue6483
+  $ touch a.py b.rs
+  $ hg add a.py b.rs
+  $ hg st -aI "*.py"
+  A a.py
+  A b.rs (known-bad-output rust !)