Added http proxy support to svn module

This commit is contained in:
Ossi Salmi 2010-11-08 16:44:31 +02:00 committed by Timo Mkinen
parent 197d9389b4
commit b280208ee9
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,9 @@
[global]
<%
if has_variable?("http_proxy")
http_proxy_host, http_proxy_port = http_proxy.split(":")
http_proxy_port = "80" if http_proxy_port.nil?
-%>
http-proxy-host = <%= http_proxy_host %>
http-proxy-port = <%= http_proxy_port %>
<% end -%>