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

Re: Windows XP "Access denied" svn_io_rename

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-27 23:11:20 CET

Branko ÄŒibej <brane@xbc.nu> writes:

> Which suggests a simple solution, using the following (Windows-specific)
> algorithm:
>
> 1. open temp (no sharing)
> 2. write contents to temp

Need some sort of flush of temp before deleting orig (if it was Unix).

> 3. delete orig
> 4. rename temp to orig
> 5. close temp

Suppose the close fails, are there any guarantees about the state of
the working copy?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 23:12:09 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.