开发者

svnadmin create: Option Expected

开发者 https://www.devze.com 2023-01-12 21:44 出处:网络
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:

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.


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


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.


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


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消