Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svnadmin create: Option Expected

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.

like image 841
Dave Avatar asked Aug 23 '10 09:08

Dave


4 Answers

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

like image 77
Turbo J Avatar answered Sep 23 '22 06:09

Turbo J


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.

like image 41
prathk Avatar answered Sep 22 '22 06:09

prathk


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
like image 38
moglimcgrath Avatar answered Sep 25 '22 06:09

moglimcgrath


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

like image 24
Robert Avatar answered Sep 25 '22 06:09

Robert