Use SVN (subversion) for Version Control

Source: Internet
Author: User

 

Use Visual Studio Used for development. VSS ProceedSource codeVersion control, except for several timesCodeThere is no big problem. However, there is a large project recently, 10 Multiple projects are placed in one Solution Medium, Update All at once OS Crash 5 , 6 Minutes. I 'd like to try it. Team Foundation Server But the server performance is not good. I had to do it. I finally used it with my colleague's introduction. Subversion After several months of use, I felt very good about the big project. Update A few seconds. Therefore, the source code management system of the entire department has been VSS Changed SVN Here is a brief introduction, pointing out a solution, more detailed content depends on your own.

 

SVNOverall impression:

1.
lightweight, server and client only a few m sizes.

2.
fast, check in/out , Update/commit all of them are fast.

3.
multiple access methods ( HTTP, HTTPS, SVN , file ), server directories do not need to be shared.

4.
detailed permission control allows you to access each directory.

5.
server and client all have open-source implementations, no copyright issues.

6.
not only applicable to vs development, other development or document management functions can be used SVN .

7.
ServerAndClientSupports various operating systems.

 

Install software (go to the official website to download the latest version):

1.
Server: If yes Windows Platform, the most convenient way is to use Free Integration package Visualsvn-Server ( Www.visualsvn.com ). Apache ( HTTP ) And Subversion . For other operating systems, go Subversion Official Website ( Http://subversion.tigris.org
) To download the corresponding version, you can also go Http://www.subversion.org.cn/ Download the Chinese document.

2.
Client.WindowsPlatform, download and useFreeOfTortoisesvnAnd Chinese Language Pack (Http://tortoisesvn.net), Use the correspondingSubversionClient.

3.
Visual studio2003/2005/2008 Plug-in VS Development is more convenient, like VSS Same integration, open-source plug-ins include Ankhsvn , Official website Http://ankhsvn.tigris.org/ At the same time, there are also commercial implementations such: Visualsvn ( Www.visualsvn.com ), There is no big difference in use. We recommend that you use open-source solutions.

 

 

Usage tips:

1.
the biggest bad habit is that the version library name does not support Chinese characters (only names, vs the Chinese file name in the project is correct ), when there are too many version libraries in the system, I don't know what the project is and who is responsible for the project.

2.
now Internet many free SVN space, such as www.chinasvn.com , www.svnhost.cn , it is convenient to build your own open-source project or private project.

3.
in VSS we use exclusive check
out , SVN the idea is to share check out , I think it is very good. SVN the manual says," locking does not do anything except constrain productivity ", of course, SVN You can also manually lock a file.

4.
subversion and tortoisesvn all Chinese translated and maintained by fans pdf the manual is very meticulous and friendly.

5.
supports full backup and Incremental backup by means of version branch, merge, Tag, manual or script, supports dual-host images.

6.
it seems that VSS tools imported to SVN , but I have never used it.

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.