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

Re: svn completely looses file modifications due to FAT 2s time resolution (data loss!!?)

From: <kfogel_at_collab.net>
Date: 2004-07-12 20:22:08 CEST

"C.A.T.Magic" <c.a.t.magic@gmx.at> writes:
> a)
> write a ".svn/dummy" file to disk,
> read back its modification time and wait
> for that time to pass by.
>
> b)
> whenever a relevant wc file gets modified,
> stat for its filetime.
> then wait for that time to pass by.
>
> AFAIK time always gets rounded to the next
> higher possible value, so it should be safe
> to 'wait for exactly the filetime' of the
> very last modified file.
>
> its NOT neccessary to wait for a filetime
> change TWICE.

Both of these are better than anything I was thinking of. And they're
the same as what Ben Reser has been saying in IRC, at least in
essence.

Hmm, can you file an issue covering all this?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 12 21:50:58 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.