![](/img/trans.png)
[英]Installing SVN on Mac OS X 10.4 and accessing it using svn+ssh:// URL
[英]SVN 1.6 - not a valid URL
最近,我按照此頁面上的說明從mac osx卸載了SVN 1.7並安裝了SVN 1.6.23: 如何在OS X上卸載subversion
'svn --version'運行良好,表示已安裝1.6.23。
但是當我跑步時:
svn info http://www.domainname.com/svn/path_to_folder
它給了我以下錯誤:
http://www.domainname.com/svn/path_to_folder: (Not a valid URL)
svn: A problem occurred; see other errors for details
該命令在另一台預先安裝了SVN 1.6.18的Mac上運行良好。 因此,服務器或命令沒有問題。 有誰知道這可能是什么?
您沒有任何可以使用HTTP協議與存儲庫進行通信的存儲庫訪問模塊(RA)。 如果只有ra_svn
和ra_local
,則只能使用svn:
或file:
URL:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
您顯然已經編譯了自己的二進制文件。 INSTALL文件提到了這一點:
灣 Serf庫0.3.0或更高版本( http://code.google.com/p/serf/ )
serf是HTTP和WebDAV的庫,它是Neon的替代方案,可以通過http://和https:// URL訪問Subversion存儲庫。 serf被設計為可以利用HTTP流水線處理的異步庫,因此ra_serf可能比ra_neon更有效,並且對於HTTP代理緩存更佳。 可以在以下位置找到農奴庫:
http://code.google.com/p/serf/
為了使用ra_serf代替ra_neon,您必須安裝serf,並使用--with-serf參數運行Subversion的./configure。 (要僅使用ra_serf而不是ra_neon,還應該使用--without-neon。)如果serf安裝在非標准位置,則應使用
--with-serf=/path/to/serf/install
代替。 如果同時使用ra_neon和ra_serf進行構建,則Subversion默認情況下將使用ra_neon。 在〜/ .subversion / servers文件的[global]部分中添加“ http-library = serf”,以改用ra_serf。
有關serf和Subversion的ra_serf的更多信息,請參見文件subversion / libsvn_ra_serf / README。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.