[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_sleep_for_timestamps makes things unresponsive

From: Folker Schamel <schamel23_at_spinor.com>
Date: 2004-06-26 18:36:34 CEST

Branko Čibej wrote:

> C.A.T.Magic wrote:
>
> > I have no (FAT) filesystem available with only a 2 second resolution,
> > but i could think of a situation like this
> > ! imaginary example !:
> >
> > svn update
> > #=> creates file1 with current time 00:00:00.10
> > #=> FAT rounds this to 00:00:02
> > #=> svn stores that time as 'last modified' in its entries file.
> > #=> user modifies a character in the file no size change)
> > # at 00:00:01.30 -- FAT rounds this to 00:00:02 again.
> > svn commit
> > #=> does nothing - file time hasn't changed, size hasn't changed
> > #=> user thinks everything is committed and deletes his WC,
> > or a release version is built without the required fix etc.
>
> This is a very contrived example. First, it's very unlikely that a user
> would do something like that in under 2 seconds.

Then why is there a need for a sleep at all?

Folker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 28 04:40:37 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.