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.
Thoughts?
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2395127
To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].
What antivirus are you running?
If you kill TSVNCache.exe, does it alleviate the problem?
I suspect that some application (the most common offender here is
antivirus) is keeping handles to the files in the .svn directories
open longer than it should.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2395168
> 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.
The most likely cause for the problems is an interaction between your virus scanner and the TortoiseSVN cache. Of these, it's usually the virus scanner which has the bugs in.
Try switching your TortoiseSVN Settings > Icon Overlays to "Shell" or "None" before doing bulk operations on a large working copy. Either of these settings disables the TSVNCache process.
You may also find that there is a way to disable any interference with working copies by your virus scanner. On mine it's "Snooze Realtime" -- to be done just before a bulk edit of any Subversion data.
- Mark.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2395445