tests/test-status.t
branchstable
changeset 49555 8ee3889bab92
parent 49553 557f7e243ac9
child 49608 2af928d69e8e
equal deleted inserted replaced
49554:ecf9788cd9c4 49555:8ee3889bab92
   991       0         -1 set                 subdir
   991       0         -1 set                 subdir
   992 
   992 
   993   $ hg status
   993   $ hg status
   994   ? another-subdir/something-else
   994   ? another-subdir/something-else
   995 
   995 
   996   $ hg debugdirstate --all --no-dates | grep '^ '
   996 One invocation of status is enough to populate the cache even if it's invalidated
   997       0         -1 unset               subdir (known-bad-output !)
   997 in the same run.
   998 
       
   999 For some reason the first [status] is not enough to save the updated
       
  1000 directory mtime into the cache. The second invocation does it.
       
  1001 The first call only clears the directory cache by marking the directories
       
  1002 as "outdated", which seems like a bug.
       
  1003 
       
  1004   $ hg status
       
  1005   ? another-subdir/something-else
       
  1006 
   998 
  1007   $ hg debugdirstate --all --no-dates | grep '^ '
   999   $ hg debugdirstate --all --no-dates | grep '^ '
  1008       0         -1 set                 subdir
  1000       0         -1 set                 subdir
  1009 
  1001 
  1010 #endif
  1002 #endif