title: How do I configure the SVN HTTP proxy from the command line?
body: <p>I script the set up of my build environment. (So the build process can bootstrap itself if it finds itself running on a clean image).</p>
  
  <p>As part of this process, certain dependencies are retrieved from public SVN repositories. </p>
  
  <p>The build machines sit behind a proxy, so I need to configure SVN to use the proxy. </p>
  
  <p>Several of the options that come immediately to mind are unpalatable for various reasons:</p>
  
  <ul>
  <li>I could edit the ~/.subversion/servers file manually, but I would far rather keep the build process as self-contained and as automated as possible. </li>
  <li>Alternatively, I could "proxy" the various public subversion repositories with an internal "dependencies" repository, but this adds to the number of moving parts that need to be maintained.</li>
  <li>Finally, I could write a script to check the configuration file and modify it (if needed), but this seems like overkill for what should be a trivial part of the build process.</li>
  </ul>
  
  <p>Ideally, I should be able to specify the proxy from the command line, but it is not obvious that this is possible. What is the right way to approach this problem?</p>