Lieven Govaerts wrote:
> WIN32_RETRY_LOOP tries in this case to open the file for writing, and
> gets an ERROR_ACCESS_DENIED error. Now I know this error can mean lots
> of things, so I don't propose to drop it altogether. But can't we add
> a check that, if svn gets this error during file opening, it checks
> first if the file is read-only before retrying 100 times?
> 
> I see we already do something similar in svn_io_remove_file.
> 
> Remarks?

Makes sense to me.  We're assuming, of course, that any time we find such a
file read-only that it isn't merely set that way temporarily by some other
process, but I think that's a fair assumption to make.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to