1

I create a repository,path is d:svn/repos1
When svn checkout,if the URL of repository is file:///D:/svn/repos1,it can checkout success,but if use the url of repository as svn://localhost/svn/repos1,then checkout failed. and the error is "Unable to connect to a repository at URL svn://localhost/svn/repos1

add problem detail [my system is win7-64,i added the svnservice into operate-system-service and started it:(sc create svn binPath= "D:\Subversion\bin\svnserve.exe --service -r d:\svn\repos1" DisplayName= "SVN"),and i didn't modify the default SVN-config file.]

4

1 回答 1

4

您必须设置并开始svnserve能够使用svn://访问方法访问您的存储库。否则,您可以设置 Apache HTTP Server 以通过 HTTP(S) 公开您的存储库。我建议阅读 SVNBook 章节:“选择服务器配置”

如果没有配置服务器来公开您的存储库,那么您只能通过直接file:///URL 访问您的存储库。

于 2014-06-10T10:11:53.593 回答