changeset 47131:46c6be5f1efa

status: Extend issue 6483 test to exclude patterns With `hg status -X`, not just include pattern with `hg status -I` Differential Revision: https://phab.mercurial-scm.org/D10700
author Simon Sapin <simon.sapin@octobus.net>
date Fri, 07 May 2021 16:44:36 +0200
parents cfbbafb04037
children 65e6970042c5
files tests/test-status.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-status.t	Fri May 07 16:41:07 2021 +0200
+++ b/tests/test-status.t	Fri May 07 16:44:36 2021 +0200
@@ -700,6 +700,11 @@
   $ hg st -aI "*.py"
   A a.py
 
+Also check exclude pattern
+
+  $ hg st -aX "*.rs"
+  A a.py
+
 issue6335
 When a directory containing a tracked file gets symlinked, as of 5.8
 `hg st` only gives the correct answer about clean (or deleted) files