I think the problem can also be visible with a script that does a
commit on a file with a keyword and modifies the file just after,
at least on fast machines. Indeed, since there is a keyword, the
file will be modified by svn just after the commit, and the script
may modify the file in the same second. However, looking at ctime
won't solve the problem (depending on the OS and the FS, there
*can* be other fields that give more precise timestamps, I don't
know if APR can provide them when they exist, but it should).

Something like that:

$ echo '$Rev$' > file
$ svn add file
$ svn ps svn:keywords Rev file
$ svn ci -m 'first commit' file; echo foo >> file

But I can't produce the problem on my machine, perhaps because svn
is too slow or because it introduces a 1-second delay to avoid the
above problem.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply via email to