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

Re: w2k access is denied still here

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-02-23 20:48:17 CET

solo turn <soloturn99@yahoo.com> writes:

> about the retry code and the working svn cleanup:
> - the error happens when deleting the .svn directory.
> is this loop also called for the .svn?

Yes. The fact that it is deleting .svn means that it has successfully
deleted the other bits: .svn/text-base, .svn/tmp, etc. and the same
code is used for all the deletions.

> - directory is removed from working copy
> (so you get a "? deleted-dir" if you do a "svn cleanup", and "svn st")
> - therefor cleanup works.

A bit more investigation on my side reveals that the cleanup will fail
if the deletion failure occurs early (such as .svn/text-base) but will
succeed if it gets as far as .svn.

> - there is still a .svn subdirectory in "deleted-dir"
> and i'm still wondering why windows would need a "delete loop" to
> get rid of a file or directory.

I think it's odd as well. The only thing I can suggest is that you
tweak the numbers in the retry loop. I cannot imagine that it needs
more that the 12 seconds it already gets, but perhaps it needs to
sleep more that the current 128ms maximum?

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 23 20:48:01 2004

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.