There is no comparison between SVN and Git.
SVN is the abbreviation for Subversion, is an open source version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version control services on the Internet have migrated from CVs to subversion. For more information, please ask the mother ( ̄_, ̄)
First, on win under the server side of the building
1. First, you need to download the win version of the installation package: http://subversion.apache.org/packages.html
Personal habits use SLIKSVN, after downloading the normal installation, has been the next to complete, after installation does not need to configure path~
2. Software installation is not yet available oh, as the server side, you need to create an SVN repository as a shelter for the project, in fact, a folder containing some configuration files. Operation:
Open cmd (share a WIN7/8 in the current directory path open cmd method, go to the specified folder, click on the path address bar, the route is completely deleted input cmd enter), and then use the command "svnadmin create [pathname]" Create your SVN repository, such as svnadmin create D:\svnrepo.
3. OK,SVN warehouse created, in the cmd window using the command svnserve-d-R [Svnrepo Path] can start the SVN service started to use (CMD window can not be closed), of course, this is only the simplest, we can not use this project, Also need to configure access permissions, user name password, and so that the cmd window has been so hanging is not a thing ah.
4. SVN installs to the system service, creates a new text file, the name changes to Svnserver.bat (note suffix name), then opens the Svnserver.bat with the Notepad, inside enters the following content:
SC create svnserver binpath= "[SVN installation path]\svnserve.exe--service-r [Svnrepo path]" displayname= "Svnservice" depend= Tcpip start= Autopause
For example: Note that the space after "=" must be
SC create svnserver binpath= "D:\SVN\bin\svnserve.exe--service-r D:\svnrepo" displayname= "Svnservice" depend= Tcpip STA rt= Auto Pause
Then save and close Notepad, you can create the SVN service by right-clicking the administrator, and start= Auto will start the service boot automatically.
? ?????????5. Permission configuration: Open the svnserve.conf file in the Conf directory under the SVN repository, which is commonly used to have # anon-access = read (anonymous access, value read read-only, write writable) # auth-access = Write (authenticated user access, that is, user logged in with username password) # password-db = passwd ( requires a password to open access), need to open only You need to remove the comment (#). User password configuration: in the Conf directory in the password file configuration key value pairs, referring to the password file given in the example is available. ?
? ? ? ? ? ? ? ? ?
ii. use of SVN integration into Eclipse
Method 1: Install offline by downloading the zip file
Download Homepage Http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
Eclipse Install: Open eclipse->help->install New sortware ... , point Add, then point Archive ... Select the file you just downloaded. Name Enter SVN, then click OK, then expand the list that was loaded (as I pictured it, because I've already installed it), click Select All below, and then remove the "Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 "in front of the tick, this one may cause the installation to fail.
Then confirm the following "Contact all update ... "This is unchecked, check for updates, the installation will be slow
Then click Next and tick the agree terms and finish. You can now use SVN in your project.
Method 2,eclipse Online Installation: As a step, just enter SVN's online installation address in loations:
? 1.10: http://subclipse.tigris.org/update_1.10.x ?
SVN service build standby on Linux ~
SVN installation, SVN service build, and Eclipse plug-in installation