I have been using VisualSVN Server (version 3.9.7). Recently one of the SVN repositories is somehow corrupted and I would like to delete the repository and its database from the filesystem. However, I get the following error when I try to delete the repository:
Can't remove directory '<PATH_TO_REPOSITORY>\db\revprops\0': The directory is not empty.
I also see the following message on the VisualSVN Server control panel when I try to click on the repository name:
Unable to access repository Failed to load module for FS type 'bdb'
I tried to manually delete the repository from the VisualSVN Server PowerShell after stopping the services; however, received the following error:
Confirm The item at E:\REPOSITORY\TURBO_CORRUPTED has children and the Recurse parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to continue? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A rmdir : The file or directory is corrupted and unreadable. At line:1 char:1 + rmdir .\TURBO_CORRUPTED + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (E:\REPOSITORY\TURBO_CORRUPTED:String) [Remove- Item], IOException + FullyQualifiedErrorId : RemoveItemIOError,Microsoft.PowerShell.Commands.RemoveItemCommand PS E:\REPOSITORY>