changeset 51563:b861d913e7ec stable

tests: add a test that demonstrates a bug in rhg status pattern handling The bug is in [visit_children_set], will be elaborated on in follow-up changes.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 11 Apr 2024 15:53:23 +0100
parents eac84af0c8cc
children f5c367dc6541
files tests/test-status.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-status.t	Fri Apr 05 01:07:46 2024 +0200
+++ b/tests/test-status.t	Thu Apr 11 15:53:23 2024 +0100
@@ -842,6 +842,14 @@
   C clean
   C subdir/clean
 
+FIXME: it's a bug in rhg that the status below is empty:
+
+  $ hg status 'glob:subdir/*'
+  M subdir/modified (no-rhg !)
+  R subdir/removed (no-rhg !)
+  ! subdir/deleted (no-rhg !)
+  ? subdir/unknown (no-rhg !)
+
 Note: `hg status some-name` creates a patternmatcher which is not supported
 yet by the Rust implementation of status, but includematcher is supported.
 --include is used below for that reason