Tuesday, January 22, 2013

cygwin svn behind a firewall

At work, I am behind a firewall. I knew that I had to generally configure cygwin to deal with the proxy by setting the env var HTTP_PROXY, but subversion still failed. Usually I can do svn operations through the wonderful TortoiseSVN windows suite, but building TubeTK  somehow insisted on using cygwn svn, even though I had set the svn parameter in the CMake configuration to use TortoiseSvn, and yes, I did make sure that cywin wasn't in CMakeCache.txt for the build. Some googling brought me to this post where Pascal explains it;


edit ~/.subversion/servers. In the [global] section, use these lines:
[global]
http-proxy-host = your.server.address
http-proxy-port = your_server_port

Works! Easy when you know!

No comments: