Added http proxy support to svn module
This commit is contained in:
parent
197d9389b4
commit
b280208ee9
2 changed files with 20 additions and 1 deletions
9
svn/templates/servers.erb
Normal file
9
svn/templates/servers.erb
Normal 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 -%>
|
Loading…
Add table
Add a link
Reference in a new issue