Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: /etc/subversion/servers:6: Section header expected

Tags:

unix

proxy

svn

I have to add proxy in the /etc/subversion/servers file.

  http-proxy-host=web-proxy.xxx.xxx.com
  http-proxy-port=8080

After adding the proxy info I am getting the above error while executing the svn command. Now the error message clearly indicates line number 6 which is the proxy host. If I comment that line then svn commands starts working.

Now after googling several forums I found that I have to put the info "under [global] section and not at file's head"

  • So where is the [global] section in unix file system ? Is it the config file ?
  • Is there any other way to resolve this problem ?
like image 238
Reuben Avatar asked Jan 28 '14 15:01

Reuben


Video Answer


1 Answers

[global]
http-proxy-host=web-proxy.xxx.xxx.com
http-proxy-port=8080
like image 56
Guntram Blohm Avatar answered Sep 20 '22 19:09

Guntram Blohm