changeset 46366:40c8ae49561d stable

status: add test that shows that the Rust implementation has a bug Differential Revision: https://phab.mercurial-scm.org/D9976
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 10 Feb 2021 22:01:23 +0100
parents 839cacdff919
children fb6eca7b8c63
files tests/test-status.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 !)