[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

~/.subversion/server too picky

From: Andrew Brampton <a.brampton_at_lancs.ac.uk>
Date: 2007-03-23 23:50:00 CET

Hi,
Recently I had to configure a few machines to use a webcache when accessing
external http svn servers.

The section in the servers file I changed looks like:

[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 8080

I changed it to:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
 http-proxy-host = defaultproxy.whatever.com
 http-proxy-port = 8080

Notice the spaces before the two uncommented lines. When I tried to use svn
it complained:
svn: /home/user/.subversion/servers:68: Option expected

This took me a minute or two to figure out that the space was causing the
problems, and if I removed it then it works how I wanted it.

I was looking at filling a bug report, and possibly submitting a patch that
made the parsing a little less picky (i.e. to ignore whitespace before an
option). Now if others agree with this change I'll be happy to look into
doing it.

Thanks
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 23 23:50:34 2007

This is an archived mail posted to the Subversion Dev mailing list.