tests/test-status.t
branchstable
changeset 49555 8ee3889bab92
parent 49553 557f7e243ac9
child 49616 2af928d69e8e
--- a/tests/test-status.t	Wed Oct 19 15:11:05 2022 +0200
+++ b/tests/test-status.t	Wed Oct 19 16:28:41 2022 +0200
@@ -993,16 +993,8 @@
   $ hg status
   ? another-subdir/something-else
 
-  $ hg debugdirstate --all --no-dates | grep '^ '
-      0         -1 unset               subdir (known-bad-output !)
-
-For some reason the first [status] is not enough to save the updated
-directory mtime into the cache. The second invocation does it.
-The first call only clears the directory cache by marking the directories
-as "outdated", which seems like a bug.
-
-  $ hg status
-  ? another-subdir/something-else
+One invocation of status is enough to populate the cache even if it's invalidated
+in the same run.
 
   $ hg debugdirstate --all --no-dates | grep '^ '
       0         -1 set                 subdir