changeset 47358 | 9d58e54b5966 |
parent 47357 | 3b9914b28133 |
child 47683 | 284a20269a97 |
--- a/tests/test-status.t Mon May 31 19:54:41 2021 +0200 +++ b/tests/test-status.t Tue Jun 01 16:55:59 2021 +0200 @@ -957,4 +957,18 @@ $ hg status ? subdir/unknown + $ rm subdir/unknown + $ hg status + +Removing a node from the dirstate resets the cache for its parent directory + + $ hg forget subdir/a + $ hg debugdirstate --dirs --no-dates | grep '^d' + d 0 0 set subdir + $ hg ci -qm '#1' + $ hg debugdirstate --dirs --no-dates | grep '^d' + d 0 0 unset subdir + $ hg status + ? subdir/a + #endif