How to work with svn through HTTP proxy on Ubuntu?

Question:

When trying to checkout the code, svn throws the following error:

svn: OPTIONS of 'http://...': Не удалось разрешить имя хоста `...': 
Host not found (http://...)

Answer:

You need to set the proxy settings in the svn settings.

sudo nano /etc/subversion/servers
[global]
http-proxy-host = defaultproxy.whatever.com
http-proxy-port = 7000
Scroll to Top