Mercurial > hg-stable
comparison tests/test-status.t @ 47145: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 |
comparison
equal
deleted
inserted
replaced
47144:cfbbafb04037 | 47145:46c6be5f1efa |
---|---|
698 $ touch a.py b.rs | 698 $ touch a.py b.rs |
699 $ hg add a.py b.rs | 699 $ hg add a.py b.rs |
700 $ hg st -aI "*.py" | 700 $ hg st -aI "*.py" |
701 A a.py | 701 A a.py |
702 | 702 |
703 Also check exclude pattern | |
704 | |
705 $ hg st -aX "*.rs" | |
706 A a.py | |
707 | |
703 issue6335 | 708 issue6335 |
704 When a directory containing a tracked file gets symlinked, as of 5.8 | 709 When a directory containing a tracked file gets symlinked, as of 5.8 |
705 `hg st` only gives the correct answer about clean (or deleted) files | 710 `hg st` only gives the correct answer about clean (or deleted) files |
706 if also listing unknowns. | 711 if also listing unknowns. |
707 The tree-based dirstate and status algorithm fix this: | 712 The tree-based dirstate and status algorithm fix this: |