svnadmin create:需要选项
有人可以启发我吗...
当我取消注释 /etc/subversion/config 中的行 store-auth-creds = no
时,并且当我创建新的存储库时,我看到以下错误:
svnadmin: /etc/subversion/config:37: Option Expected
我知道第 37 行指向 store-auth-creds = no 选项,但是 svnadmin 现在期望什么选项?
SVN 中的一种新功能.. =),我正在使用 Ubuntu 9.1 作为我的 SVN。
Can someone enlighten me on this...
When I uncomment the line in /etc/subversion/config store-auth-creds = no
, and when I create a new repo, I see the following error:
svnadmin: /etc/subversion/config:37: Option Expected
I understand that that 37 line is pointing to the store-auth-creds = no
option but what option does svnadmin expect now??
Kind of new in SVN.. =) and I'm using Ubuntu 9.1 for my SVN.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您的 svnadmin 无法识别 store-auth-creds,或者您在编辑配置文件时弄乱了它(不属于它的空格字符等)。
Either your svnadmin does not recognize store-auth-creds or you have messed up the config file as you edited it (a space character where it doesn't belong etc).
尝试删除启用选项之前的空格。
例如,在 svnserve.conf 中,我们启用以下选项:
确保这些选项之前甚至没有一个空格。
我遇到了同样的问题,当我检查此类conf文件中是否有多余空格时,它解决了。
在您的情况下,在删除这些多余的空格之前必须有空格
,问题就会得到解决。
Try to remove the white spaces before the options enabled.
For example in svnserve.conf we enable following options :
Make sure there is not even single space before these options.
I was facing same issue and it resolved when I checked it for extra spaces in such conf file.
In your case there must be space before
remove those extra spaces and problem will be resolved.
遇到了类似的问题。出现以下错误“svn E200002:解析配置文件时出错”,
原因是空格。删除已解决
ran into a similar problem. Was getting the following error "svn E200002: error while parsing config file"
White spaces was the cause. removing resolved
注意:还要确保删除行中的所有前导空格。
NOTE: Also make sure to remove any leading spaces from the lines.
我遇到了同样的问题,试图为我的 Xcode 项目设置 subversion。
由于某种原因,subversion 的配置文件分割了第 94 行,
将由
###
开头的注释分成 2 个单独的行。编辑配置文件将注释恢复为1行,或者在第2行前面添加###
。瞧,问题解决了。I ran into the same problem, trying to set up subversion for my Xcode project.
For some reason, subversion's config file has split line 94,
chopping up comments that are started by
###
into 2 separate lines. Edit the config file to restore the comment to 1 line, or add###
to the front of the 2nd line. Voila, problem solved.