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

Corrupted Repo From Deleting Directory

From: Shira Hammann <nosmalldreams_at_gmail.com>
Date: Fri, 2 Dec 2016 12:24:58 -0800 (PST)

I'm hoping folks may have some guidance on how to stop my repo from getting corrupted by folder deletes.

Since I started using tortoisesvn 3 months ago, my repo has twice been corrupted so that I had to delete it and check out the code from scratch. Both times, this has occurred when I attempted to delete a directory in the repo.

The first time, I just physically deleted the directory using FileExplorer. One of my colleagues says he does this all the time and it works fine with the same versions of svn and tortoisesvn that I'm using. I no longer remember all the details of the errors I got, but I know that my repo ended up corrupted and Clean up didn't work and I ended up having to get the repo again.

This time, I right clicked the directory, and chose TortoiseSVN -> Delete. Just prior to doing that, I had gone to the SVN Commit page from my project root, and it looked fine. However, after deleting a directory a couple of levels down, the SVN Commit page no longer found any pending changes. That was true whether I tried from the root or from a subdirectory that didn't contain the deleted directory. I then tried to do a Clean up, again trying from both of the same locations, and it failed saying "Cleanup failed to process the following path:", then the path of the directory I'm trying to clean, then "Can't open directory", then the path of the directory I had deleted, then "Access is denied."

At this point I have no idea how to fix the issue, so I'm getting a brand new copy of the repo. However, this is a frustrating thing to have happen every time I need to delete a directory and I'm hoping folks may have run into the same and be able to suggest a better option.

Many thanks!


To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-12-02 22:28:11 CET

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

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