status: add test that shows that the Rust implementation has a bug stable
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 10 Feb 2021 22:01:23 +0100
branchstable
changeset 46488 40c8ae49561d
parent 46487 839cacdff919
child 46489 fb6eca7b8c63
status: add test that shows that the Rust implementation has a bug Differential Revision: https://phab.mercurial-scm.org/D9976
tests/test-status.t
--- a/tests/test-status.t	Wed Feb 10 19:23:56 2021 +0100
+++ b/tests/test-status.t	Wed Feb 10 22:01:23 2021 +0100
@@ -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 !)