默认安装的svn会支持两种导入导出方式 ra_svn ra_local分别是svn协议和本地文件导入导出
如果要通过http协议导入导出,比如

引用
svn import /data/htdocs/admin99 http://192.168.1.100:519/svn/admin99/ -m "initial import" --username='admin99' --password='admin99'

就会报上面的错误
解决的办法是安装neon

引用
cd /usr/src
wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
tar -xvzf neon-0.25.5.tar.gz
mv neon-0.25.5 neon

将neon移到subversion的源文件的根目录中,重新编译安装subversion即可
然后运行 svn --version 能看到已经多了一个模块ra_neon出来

svn, version 1.5.4 (r33841)
  compiled Jan 19 2010, 09:52:57

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
 - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
 - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
 - handles 'file' scheme
Tags:
svn | 评论(0) | 引用(0) | 阅读(178)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
昵称   密码   游客无需密码
网址   电邮   [注册]
               

验证码 请输入左侧的字母,不区分大小写