Svn: / etc / subversion / servers: 6: section header expected

I need to add a proxy to the file /etc/subversion/servers.

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

After adding the proxy information, I get the above error when running the command svn. Now the error message clearly indicates the line number 6, which is the proxy node. If I comment on this line, the svn commands will start working.

Now, after searching in several forums, I found that I need to post information "under [global] section and not at file head"

  • So where is the [global] section on the unix file system? Is this a file config?
  • Is there any other way to solve this problem?
+4
source share
1 answer
[global]
http-proxy-host=web-proxy.xxx.xxx.com
http-proxy-port=8080
+8
source

Source: https://habr.com/ru/post/1524091/


All Articles