我一直在使用 VisualSVN 服务器(版本 3.9.7)。最近其中一个 SVN 存储库以某种方式损坏,我想从文件系统中删除存储库及其数据库。但是,当我尝试删除存储库时出现以下错误:
Can't remove directory '<PATH_TO_REPOSITORY>\db\revprops\0': The directory is not empty.
当我尝试单击存储库名称时,我还在 VisualSVN 服务器控制面板上看到以下消息:
Unable to access repository
Failed to load module for FS type 'bdb'
停止服务后,我尝试从 VisualSVN Server PowerShell 手动删除存储库;但是,收到以下错误:
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>