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

Problem with tempfiles

From: Jens T Thielemann <jenstt_at_gmail.com>
Date: Thu, 22 May 2008 09:08:38 +0200


I have a problem with Subversion in that its atomic updates of files
conflicts with my virus killer (this is exactly the same problem as reported
in http://svn.haxx.se/users/archive-2006-08/0847.shtml). This makes
subversion usually fail in any action.

While arguments can be made that this really is a virus killer problem, this
does not really help me out. As I understand the problem, the virus killer
will temporarily look at the file, and if Subversion tries to move the file
simultaneously (due to its mechanism of providing atomic file updates), the
move will fail. There is thus an element of a race condition here.

Would it be possible to enhance Subversion to retry such move operations?
That is, if the first move fails, wait 0.5 seconds and retry? This would
probably enhance compatibility with virus killer and also indexing software,
and make the Subversion client much more usable in a viruskilling

Are there any work underway attempting to resolve this issue?

I am reproducing the error under TortoiseSVN 1.4.8, Build 12137 - 32 Bit ,
2008/02/16 11:09:38.

Best regards,

Jens Thielemann

(I am aware that there is probably some virus killers out there that don't
cause these conflicts, but I'm running subversion on a company machine, so
the virus killer vendor is not selectable...)
Received on 2008-05-22 10:28:59 CEST

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

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