tests: add a test that demonstrates a bug in rhg status pattern handling stable
authorArseniy Alekseyev <aalekseyev@janestreet.com>
Thu, 11 Apr 2024 15:53:23 +0100
branchstable
changeset 51563 b861d913e7ec
parent 51562 eac84af0c8cc
child 51564 f5c367dc6541
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.
tests/test-status.t
--- 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