默认安装的svn会支持两种导入导出方式 ra_svn ra_local分别是svn协议和本地文件导入导出
如果要通过http协议导入导出,比如
就会报上面的错误
解决的办法是安装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
如果要通过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
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
向svn中导入项目
svn: Valid UTF-8 data 错误的解决


2010/01/19 10:48 | by 