Configure a proxy server for the SVN Client

Source: Internet
Author: User

The most common SVN client is actually TortoiseSVN. I have always called it the tortoise SVN. After work, I used SVN in my office to connect to a non-office network server.
In the past, because most office networks have a firewall, to connect to the internet server, you must configure a proxy. If TortoiseSVN is used, right-click and choose>
"Settings"-"Networking", you can find the place to set the Proxy:

I often use another SVN client, do not know how many domestic users, in short I also mention it, download the site is here: http://www.collab.net
/, This company is a back-to-the-scenes support company for SVN. It develops clients for various command line-based operating systems based on command lines, so it is very lightweight. The most important thing is to install it later, and
NetBeans seamless integration does not make a bunch of colorful icons in the resource manager, so you can see the red exclamation mark in a blank air.

Setting proxy for this command line client is a bit difficult. If you cannot understand it, you can ignore it automatically. First open CMD, and then type echo
% APPDATA %. The result is the root directory of your configuration. Enter the Directory and Subversion subdirectory. You will see two configuration files, one called
Config, which is called servers. Use the WordPad to edit the servers configuration file:

[Global]
# Http-proxy-exceptions = * .exception.com, www.internal-site.org
Http-proxy-host = defaultproxy.whatever.com
Http-proxy-port = 7000
Http-proxy-username = defaultusername
Http-proxy-password = defaultpassword

After the configuration, you can mount a proxy to the SVN client. If you only want to mount a proxy to a specific domain, use another section to configure the Proxy:

[Groups]
Group1 = * .googlecode.com
# Othergroup = repository.blarggitywhoomph.com
# Thirdgroup = * .example.com

### Information for the first group:
[Group1]
Http-proxy-host = proxy.myoffice.com
Http-proxy-port = 8080
# Http-proxy-username = blah
# Http-proxy-password = doubleblah
# Http-timeout = 60

The above is just an excerpt from my configuration. I configured a proxy for the googlecode domain.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.