svnadmin create:需要选项

发布于 2024-09-16 01:38:42 字数 318 浏览 9 评论 0原文

有人可以启发我吗...

当我取消注释 /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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

紅太極 2024-09-23 01:38:42

您的 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).

狠疯拽 2024-09-23 01:38:42

尝试删除启用选项之前的空格。

例如,在 svnserve.conf 中,我们启用以下选项:

anon-access=read
auth-access=write
password-db=passwd

确保这些选项之前甚至没有一个空格。
我遇到了同样的问题,当我检查此类conf文件中是否有多余空格时,它解决了。

在您的情况下,在删除这些多余的空格之前必须有空格

store-auth-creds=no

,问题就会得到解决。

Try to remove the white spaces before the options enabled.

For example in svnserve.conf we enable following options :

anon-access=read
auth-access=write
password-db=passwd

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

store-auth-creds=no

remove those extra spaces and problem will be resolved.

指尖凝香 2024-09-23 01:38:42

遇到了类似的问题。出现以下错误“svn E200002:解析配置文件时出错”,

原因是空格。删除已解决

store-passwords = yes
store-ssl-client-cert-pp = yes
store-plaintext-passwords = yes
store-ssl-client-cert-pp-plaintext = yes

ran into a similar problem. Was getting the following error "svn E200002: error while parsing config file"

White spaces was the cause. removing resolved

store-passwords = yes
store-ssl-client-cert-pp = yes
store-plaintext-passwords = yes
store-ssl-client-cert-pp-plaintext = yes
子栖 2024-09-23 01:38:42

注意:还要确保删除行中的所有前导空格。

NOTE: Also make sure to remove any leading spaces from the lines.

梦里兽 2024-09-23 01:38:42

我遇到了同样的问题,试图为我的 Xcode 项目设置 subversion。

svnadmin:/Users/admin/.subversion/config:94:预期选项

由于某种原因,subversion 的配置文件分割了第 94 行,
将由 ### 开头的注释分成 2 个单独的行。编辑配置文件将注释恢复为1行,或者在第2行前面添加###。瞧,问题解决了。

I ran into the same problem, trying to set up subversion for my Xcode project.

svnadmin: /Users/admin/.subversion/config:94: Option expected

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文