[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: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-06-30 00:45:41 CEST

Tankko wrote:
> I am running into a strange problem:
> I am running on WinXP, with the latest versions of svn and TSVN.
> I have a program that runs and creates about 100 files in the 100K
> range and dumps them into a directory that is under version control.
> The 100 files already exist and most will not have changed, but some
> do.
> It takes about 2 seconds for the program to write out these 100 files.
> The next step in my batch file is to so a "svn commit" using the
> command line tool. Everything looks OK, the files that have changed
> are sent to the repository with no errors.
> 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.
> The program that creates these files isn't complaining about any files
> that it can't open, close or write to.
> Is this the TSVN background process messing something up?

I doubt that very much. It's easy to find out. Close explorer, kill
TSVNCache.exe and run your batch file again. If you still get corruption
then it's not TSVN. You might try the Subversion users mailing list.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jun 30 00:45:05 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.