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

RE: svn.collab.net is now running Subversion 0.23.

From: D.J. Heap <djheap_at_dhiprovo.com>
Date: 2003-05-21 00:16:22 CEST

I will also test retrying MoveFileEx. As for MS developer support, they
are pretty good if you can give them a small reproduction test program
or recipe...that's what I was originally trying to do but couldn't
outside of Subversion. I'm not sure how they would respond to
Subversion and stress.pl as the recipe...they might look at it, but I'm
not sure. Even if they did and found a problem, though, it could easily
be months or years or never before they actually fix it.

DJ

-----Original Message-----
From: Philip Martin [mailto:pm@localhost] On Behalf Of Philip Martin
Sent: Tuesday, May 20, 2003 4:02 PM
To: dev@subversion.tigris.org
Subject: Re: svn.collab.net is now running Subversion 0.23.

"D.J. Heap" <djheap@dhiprovo.com> writes:

> Back when I was looking at this problem a while ago, I could relieve
> the problem (or it seemed to) by changing the apr_file_rename to use
> the non-unicode-os code. That is, do the Delete and MoveFile rather
> than MoveFileEx. I will try it later tonight or tomorrow when I
> have some time.

That could be OK as a test but as a long term solution it looks a bit
dodgy--what happens if the MoveFile fails, or if the process is killed
between Delete and MoveFile, does the destination disappear?
Subversion relies on an Atomic rename, if you delete the destination
and then fail to complete the rename the working copy is likely to be
broken. I wonder if simply trying MoveFileEx again would do the
trick?

Has anyone asked Microsoft about this? I've been told their developer
support is pretty good, although I have never used it myself.

-- 
Philip Martin
**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email
in error please notify the system manager.
This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 21 00:17:48 2003

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.