【发布时间】:2013-12-21 12:17:50
【问题描述】:
我正在尝试使用 HTTP 协议访问我在本地计算机上创建(使用 svnadmin)的 SVN 存储库,但我无法确定 URL。是否需要提供其他配置才能以 HTTP 方式访问它?使用 SVN 协议访问它没有问题。我只想做一些性能调整并比较协议。有任何想法吗?用于创建 repo 的命令如下。
存储库创建和服务器启动命令:
$cd
$svnadmin create my-repository
$svnserve -d -r /Users/myusername
SVN:
$ svn info svn://localhost/my-repository
Path: my-repository
URL: svn://localhost/my-repository
Relative URL: ^/
Repository Root: svn://localhost/my-repository
Repository UUID: 2de7b13c-0139-45f6-a121-4d8cc6918849
Revision: 86
Node Kind: directory
Last Changed Rev: 86
Last Changed Date: 2013-12-04 11:58:03 -0800 (Wed, 04 Dec 2013)
HTTP:
$ svn info http://localhost/my-repository
svn: E120108: Unable to connect to a repository at URL 'http://localhost/my-repository'
svn: E120108: Error running context: The server unexpectedly closed the connection.
【问题讨论】:
-
你设置你的网络服务器了吗?
标签: svn