提问的智慧SVN版 - 提问者必读
返回列表 回复 发帖

[求助] svn服务器进行"导入"时出错,请问怎么解决?

svn服务器和客户端都装在同一台windows机器上,svn服务器端版本1.3.2,客户端1.4.0,conf几个配置文件配置内容如下:
svnservice.conf
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository.  (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are "write", "read",
### and "none".  The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control.  Unless you specify a path
### starting with a /, the file's location is relative to the conf
### directory.  If you don't specify an authz-db, no path-based access
### control is done.
### Uncomment the line below to use the default authorization file.
authz-db =authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa.  The default realm
### is repository's uuid.
realm = My First Repository

passed

harry = harryssecret
sally = sallyssecret

authz

### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### files.
### As shown below each section defines authorizations for the path and
### (optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to a
### single user, to a group of users defined in a special [groups]
### section, or to anyone using the '*' wildcard.  Each definition can
### grant read ('r') access, read-write ('rw') access, or no access
### ('').

[groups]
harry_and_sally = harry,sally

[/]
harry = rw
* =

[/]
@harry_and_sally = rw
* = r
配置库文件建在f:\svntest目录下
请问各位有哪个配置不对的地方?

错误提示如下:错误: Expected format '3' of repository; found format '5'

错误: Expected format '3' of repository; found format '5'
format为5的版本库是svn1.4的格式,你的服务器是1.3.2的,识别不了这个格式。

解决方法:升级svn服务器到1.4

先谢了,安装一下试试

svn服务器端1.4版安装后,导入时出现这个错误

错误: Authorization failed

问题解决了,谢谢大家

回复 #5 fengzhongbaihe 的帖子

错误: Authorization failed

应该是通过清除认证来解决的吧?
返回列表
订阅 我用Subversion - SVN中文论坛 邮件列表:iUseSVN@googlegroups.com
电子邮件:
网站重要事项将会在这个列表进行通知,点击这里浏览存于列表中的所有邮件