Let me introduce you to some of SVN's introductory knowledge! Hope to everyone's learning to play a role!
For the knowledge of SVN and CVS, you can go to Google for yourself.
First, prepare
SVN is an open source version control system that can record all file modifications. CVS is also a version control system, but now you are more using SVN, because SVN not only inherits the advantages of CVS, but also has a lot of features that CVS does not have. It is certain that SVN will become the replacement system for CVS.
We also need to install a client software--TORTOISESVN,TORTOISESVN is just a graphical user interface of SVN, with these two, we can build a powerful SVN server. But if you want to access it via HTTP, you need to use apache2.2.x and integrate some of the SVN modules into it. ANKHSVN can implement remote code management for Svn+visual Studio.
TORTOISESVN official website: http://tortoisesvn.net/downloads.html
Subversion official website (now the latest version is 1.7.4) : http://subversion.apache.org/
You can also leave a message, I will send you the setup.
second, the use of ANKHSVN
after you have installed the SVN server side and the client (you can also install only the client, through the remote access server side). The first is to create a "warehouse" on the server side that is used for the projects we are developing.
Specific steps:
1, set up "warehouse", for example, we create a new folder in the D disk called share, and then in the share to create a new folder called Svnrepo (for the project library).
This is the simplest method, and one way to do this is by using commands in the console to create them. Run--cmd. Input: SVN help, you can view the relevant commands, this step used by the command is create everyone interested can try.
2. Set Permissions
Open Our directory just now, we can see some folders, conf folder saved is some configuration information, open Svnserve
3. Add a user and set a password
Open the passwd under the same level directory
We just did a demonstration here, we can add the corresponding user according to their actual project.
The basic work is done.
Note: After setting up the library, to enable the SVN service, you can run cmd at the command prompt by typing svnserve–daemon–root D:\share\svnrepo (the warehouse we set up) carriage return, the command function is to enable the SVN server, This runs the SVN service, especially if the window cannot be closed and the SVN service is stopped once it is closed.
4. Testing
4, installation ankhsvn
: http://ankhsvn.open.collab.net/
after installing the ankhsvn, you can see a subversion option in the file in VS2010, you can open the remote file by this option, copy to local and so on, provide a document for everyone to learn the reference
http://download.csdn.net/detail/yjjm1990/4197334
Using ANKHSVN in VS2010