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

RE: Corrupt files when quickly committing...

From: Leon Zandman <lzandman_at_lode.nl>
Date: 2006-07-04 08:41:22 CEST

> Problems is, 1 to 5 files are corrupt.
> If I don't do the "svn commit" step in the batch file and
> wait 10 or 20 seconds, then do the svn commit, everything is
> fine.

Maybe the operating system buffers the file I/O, so that even though
your application has finished, the 100+ files aren't yet written to

You could try to force the file write before you commit. SysInternals
has a nifty utility called "Sync" that can do this. You can download it


Just insert a call to sync between your application and the commit.


Leon Zandman

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jul 4 08:40:51 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

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