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

Bug? "Cannot remove folder <folder>: The directory is not empty"

From: Kevin Thompson <antiduh_at_csh.rit.edu>
Date: Tue, 15 Sep 2009 08:37:33 -0700 (PDT)

Howdy all,

I've been seeing this problem in TortoiseSVN for a while, and thought I might report it to see if it can be resolved.

I have a fairly sizable repository check out (402 megs, 4,815 files, 2,306 folders).

I move this checkout around quite a bit, sometimes to/from network drives, removable drives, etc.

The problem I've found is that when I'm trying to delete a checkout (note: just deleting the local files, not actually performing any SVN operation), windows will report back "Cannot remove folder <folder>: The directory is not empty". I'm guessing this has something to do with TSVN maintaining the .svn directory.

I've seen this with default installs of TSVN on more than 15 machines, all Windows XP.

Reproducing is pretty simple. Checkout a repo that is comparably sized (you probably could get away with a much smaller repo), wait for TSVN to recognize it and cache the icon statuses, then try to delete the whole checkout. You should get windows reporting that it can't delete some folder and it gives up. I have to lather-rinse-repeat about 20 times to finally delete the whole thing.

The same happens when I try to move the folder between drives.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-15 18:17:30 CEST

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

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