2014-01-20 7 views
0

Недавно я удалил SVN 1.7 из Mac OSX и установил SVN 1.6.23 следуя инструкции на этой странице: How do I uninstall subversion on OS XSVN 1.6 - не действительный URL

'СВН --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 

Команда отлично работает на другом компьютере Mac, который имел СВН 1.6.18 предустановлена. Таким образом, нет проблем с сервером или командами. Кто-нибудь знает, что это может быть?

+0

ли 'СВН --version' показать любой модуль, который может говорить' http'? –

+0

Он показывает только модули ra_svn и ra_local. – FoY

ответ

1

У вас нет модуля доступа к репозиторию (RA), который может связываться с репозиториями с использованием протокола HTTP. Если у вас есть только 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 упоминает об этом:

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.

Смежные вопросы