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

发布于 2024-07-10 00:55:58 字数 257 浏览 8 评论 0原文

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

我正在第一次设置一个供承包商使用的颠覆服务器。 我完成了一键设置,创建了我的项目,并第一次签入了我们的应用程序,我认为稍后会进行操作并删除配置文件中连接字符串中的密码信息。

呃...

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

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

Ok so I just did something boneheaded.

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.

Duh...

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

余厌 2024-07-17 00:55:58

您可以删除该文件并清除其所有历史记录,然后将其重新导入干净。

请从 SVN 常见问题解答中查看:

如何从存储库的历史记录中完全删除文件?

You can remove the file and purge all its history, and then re-import it clean.

Check this from the SVN FAQ:

How do I completely remove a file from the repository's history?

丢了幸福的猪 2024-07-17 00:55:58

要删除项目存储库,只需从服务器中删除该文件夹,然后再次执行 svnadmin create 即可。

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

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

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.

小嗷兮 2024-07-17 00:55:58

仅从当前版本中删除文件并进行提交并不能解决安全问题。 密码仍将存在于现已删除的文件的旧版本存储库中。 CMS 的常见问题解答链接也应该有所帮助。

Just deleting the files from the current revision and doing a commit won't help with security concerns. The password will still exist in an old revision of the repository for the now-deleted file. CMS's FAQ link should help as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文