如何使用 subversion 服务器删除和创建新存储库?

问题描述:

好吧,我只是做了一些愚蠢的事情.

Ok so I just did something boneheaded.

我第一次设置了一个 Subversion 服务器,供承包商使用.我完成了 1 单击设置,创建了我的项目,并做了我第一次签入我们的应用程序,认为我稍后会通过并删除配置文件中连接字符串中的密码信息.

I'm setting up a subversion server for the first time ever that will be used by contractors. I did the 1 click setup, created my project and did my first check in of our application thinking that I'll go through later and remove the password information in the connection string in the configuration file.

呃……

所以现在我需要在存储库中删除该项目并重新创建它,这样我这次可以在没有密码的情况下进行签入.查看 svnadmin 帮助的选项,我没有看到任何删除存储库的选项.

So now I need to delete that project within the repository and create it again so I can do the checkin this time without the password. Looking through the options for svnadmin help I don't see any options for deleting a repository.

我该怎么做?简单点在这里!

How do I do this? Easy points here!

要删除项目仓库,只需从服务器上删除文件夹,然后再次执行 svnadmin create.

To delete the project repository, just delete the folder from the server, then do svnadmin create again.

Will 是对的,我没有正确阅读密码语句.签出和删除无助于解决安全问题.如有疑问,请关注本书或查看 CMS 的链接.

Will is right, I didn't read the password sentence correctly. Checking out and deleting won't help with the security concerns. When in doubt, follow the book or check CMS's link.