On 03.06.2013 01:29, Johan Corveleyn wrote:
[...]

When I look at the actual 'svn log' of this working copy (or the
repository), it gets even stranger: the commit for revision 2 is
missing:

[...]

Can anyone explain this? Any ideas?

Can it be a timestamp issue? sleep_for_timestamp ... which reminds me
... it's almost 1:30 am ... time to stamp some sleep.

But even if the timestamp after the edit is precisely the same as
after the checkout, I don't understand how that can lead to 'commit'
not seeing that the file is modified: the edit changed the filesize,
and I thought both timestamp and filesize were considered to check for
modified files ...

Confused,
--
Johan

Welcome to the club, Johan. ;-)

I had a similar timestamp related problem with diff-test 60. (See thread http://mail-archives.apache.org/mod_mbox/subversion-users/201305.mbox/%3C519DDBE3.5040909%40web.de%3E on the users list for details, if you're interested.)

TL;DR version of that thead:
If a file's timestamp doesn't change, Subversion assumes that it is unmodified. Besides, Subversion's svn_io_sleep_for_timestamps() implementation is making assumptions that aren't valid in all cases. The cause of my test failures was a bad Linux kernel (reported here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1185730) combined with Subversion's assumption that taking a nap for one millisecond would be enough to get a fresh timestamp afterwards.

The output you provided looks like you're using Windoze, so a bad Linux kernel is probably not your problem ;-). Do you have a very fast machine and use a SSD? What filesystem do you use? NTFS?

Kind regards,
Tobias

PS: Please put me on CC in replies. Thanks.

Reply via email to