如何在 svn://localhost/ 上设置 SVN 存储库?

How to setup SVN repository on svn://localhost/?

我创建了本地 SVN 存储库。可以说是 F:\svn\repository

并且我在 TortoiseSVN 中使用 file:///F:/svn/repository 来签出该存储库。

现在我想使用 svn:// 协议进行结帐并使我的存储库在 svn://localhost/repository

上可用

那么如何在 svn://localhost/ 上设置现有的 SVN 存储库?

您需要运行 svnserve,作为服务器。来自 SVN 书:

The svnserve program is a lightweight server, capable of speaking to clients over TCP/IP using a custom, stateful protocol. Clients contact an svnserve server by using URLs that begin with the svn:// or svn+ssh:// scheme

查看有关 运行 配置它的更多详细信息 here