diff tests/test-rebuildstate.out @ 6326:af3f26b6bba4

dirstate: ignore stat data for files that were updated too recently This should fix the race where hg commit foo <change foo without changing its size> happens in the same second and status is fooled into thinking foo is clean. A configuration item is used to determine the timeout, since different filesystems may have different requirements (I think VFAT needs 3s, while most Unix filesystems are fine with 1s).
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 19 Mar 2008 17:55:21 -0300
parents 8a5d8fb59ed2
children ffeb926d57ce
line wrap: on
line diff
--- a/tests/test-rebuildstate.out	Thu Mar 20 11:12:35 2008 -0500
+++ b/tests/test-rebuildstate.out	Wed Mar 19 17:55:21 2008 -0300
@@ -2,7 +2,7 @@
 adding foo
 % state dump
 a   0         -1 baz
-n 644          0 foo
+n   0         -1 foo
 r   0          0 bar
 % status
 A baz