You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Алексей Дорбах <do...@rambler.ru> on 2014/09/18 08:28:18 UTC

svnserve bug leading blanks - need add function trim

Hello,

My name is Alexey Loginov from Skylink company located in Russia.
I installed sub-version and Tortoise here in my environment but I'm facing a problem with password authentication.
When I uncomment line at svnserve.conf commented with #
' anon-access=none' is leading space character remain at begin of line
Then I trying to connecting to repository with Tortoise client and it shows me an error
"svn: /var/www/snv/svnserve.conf:12: Option Expected"
If I delete that remaining space character - all is OK.

Please add a trim function that remove leading and trailing blanks when parses lines of config files

WBR, Alexey

Re: svnserve bug leading blanks - need add function trim

Posted by Branko Čibej <br...@wandisco.com>.
On 18.09.2014 08:28, Алексей Дорбах wrote:
>
> Hello,
>
> My name is Alexey Loginov from Skylink company located in Russia.
> I installed sub-version and Tortoise here in my environment but I'm
> facing a problem with password authentication.
> When I uncomment line at svnserve.conf commented with #
> ' anon-access=none' is leading space character remain at begin of line
> Then I trying to connecting to repository with Tortoise client and it
> shows me an error
> "svn: /var/www/snv/svnserve.conf:12: Option Expected"
> If I delete that remaining space character - all is OK.
>
> Please add a trim function that remove leading and trailing blanks
> when parses lines of config files

I'm afraid not. The format of the config file is well defined: sections,
options and comments must all start in the first column of a line.

-- Brane