# HG changeset patch # User Simon Sapin # Date 2021-05-07 14:44:36 # Node ID 46c6be5f1efa070bd6eb56c475fbb9114d64dfda # Parent cfbbafb0403746ad80799ac2072f0fa30d54f516 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 diff --git a/tests/test-status.t b/tests/test-status.t --- a/tests/test-status.t +++ b/tests/test-status.t @@ -700,6 +700,11 @@ the working directory (issue6483) $ 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