SVN 提交错误 commit failed

     昨天我在服务器上check out 签出项目后 ,写完了业务功能提交代码的时候,弹出无法提交的异常信息.

经过再三反复的尝试,终于找到了出错的源头案例如下:

    在新建资源库时未将#后的空格去掉,

### 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

这里我把空格用[]   标识出来了, 在我们去掉#号的同时并没有将其后的前置空格去掉,才导致问题的出现,

解决办法:   就是将你的空格去掉即可;

猜你喜欢

转载自minjiechenjava.iteye.com/blog/1205813