2014-01-20 57 views
0

近日筆者從Mac OSX上卸載SVN 1.7和下面這個頁面上的說明安裝SVN 23年6月1日:How do I uninstall subversion on OS XSVN 1.6 - 不是一個有效的URL

「的svn --version」運行良好,並說23年1月6日是安裝。

但是當我運行:

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 

命令工作正常的另一臺Mac其中有SVN 1.6.18預裝。所以服務器或命令沒有問題。有誰知道它可能是什麼?

+0

'svn --version'顯示任何可以說'http'的模塊嗎? –

+0

它僅顯示ra_svn和ra_local模塊。 – FoY

回答

1

您沒有任何可以使用HTTP協議與存儲庫通信的存儲庫訪問模塊(RA)。如果你只有ra_svnra_local,你只能使用svn:file:網址:

* 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文件提到這一點:

b. Serf library 0.3.0 or newer (http://code.google.com/p/serf/)

serf is a library for HTTP and WebDAV which is an alternative to Neon for accessing Subversion repositories over http:// and https:// URLs. serf is designed as an asynchronous library which can take advantage of HTTP pipelining, so ra_serf may be more efficient than ra_neon and better for HTTP proxy caches. The serf library can be found at:

http://code.google.com/p/serf/ 

In order to use ra_serf instead of ra_neon, you must install serf, and run Subversion's ./configure with the argument --with-serf. (To only use ra_serf and not ra_neon, you should also use --without-neon.) If serf is installed in a non-standard place, you should use

--with-serf=/path/to/serf/install 

instead. If you build with both ra_neon and ra_serf, Subversion will use ra_neon by default; add "http-library = serf" to the [global] section of your ~/.subversion/servers file to use ra_serf instead.

For more information on serf and Subversion's ra_serf, see the file subversion/libsvn_ra_serf/README.

相關問題