def setsvnProxy(host, port):
    """Sets the svn commands needed to use a proxy
    """
    global proxycmds
    proxycmds = []
    host = host.strip()
    port = port.strip()
    if not host:
        return
    proxycmds.append('--config-option')
    proxycmds.append('servers:global:http-proxy-host=' + host)
    if port:
        proxycmds.append('--config-option')
        proxycmds.append('servers:global:http-proxy-port=' + port)
