This film mainly describes how to build SVN version control system, the main use of tools:
1 Client: TortoiseSVN (Little Turtle)
2 Service side: VisualSVN Server
Build a graphical management, and right-click menu version control management of the SVN system.
Background knowledge
The first thing to understand is that SVN is a centralized version control system for managing code, and the principle is
Save the code in a fixed location, copy the update code from this location, edit it, and then commit the modified code to the directory.
The same is true for multi-person collaborative development.
Therefore, a server like Oracle or MySQL is needed to save and manage library files (such as the code to be saved)--VISUALSVN server.
A user's operating side is also required to submit the update checkout code, the commonly used SVN plugin with Eclipse, and the TortoiseSVN (small turtle).
It is recommended to use TORTOISESVN with VISUALSVN.
Toroisesvn:http://tortoisesvn.net/downloads.html
VISUALSVN server:https://www.visualsvn.com/server/download/
How to install VISUALSVN Server
First go to the official website to download the corresponding operating system number of installation files:
Then double-click the installation file:
Accept the installation
By default, the first option is to install VISUALSVN server and the console.
The last item is automatically added to the environment variable.
Choose a standard installation (free).
Confirm the file installation directory, and the location of the code base (where your code wants to save), and once the code base file for this location is deleted, it will be powerless.
Installation can
Confirm, open the control management interface directly.
End of installation, automatically open the control management interface.
How to install TortoiseSVN (small turtle)
Download installation files via official website
Double-click Install
Next
Click Accept, Next
By default, the next step
Installation
Complete the installation, in any directory location, right-click to see two more menus.
Create a resource library
First right-repositories, create the resource pool
Create a FSFS-type repository, according to the official statement, VDFS is a distributed storage type based on FSFS.
Name the resource pool:
Create an empty resource library, or create a repository with a trunk braches tags directory. If you use it yourself, the first one will do.
Assigning permissions to all users
Create a complete repository, record the URL of the repository, and later connect to the repository using the change address.
Create user, set user password
How to Manage Code
First, in the location where you want to download the code, right-click the SVN Checkout
Fill in the Repository URL and the local code folder name. You can choose to check out all or check out based on a specific version number.
User identity authentication
When the checkout is complete, a folder is found in the local folder.
There is a. svn hidden file in the folder that records the information required for SVN version control.
To facilitate testing, create a Notepad file in the folder and right-click on the SVN commit commit.
Note: The right-click menu only appears in the appropriate checkout directory after the TORTOISESVN client tool is installed.
Click OK to submit
Submit complete.
Refresh the repository to discover, file, and submit to the server.
Reference
The way of version control
--------------------------------------------------------------------------
Transferred from: TortoiseSVN and VISUALSVN server to build SVN version control system
Go TORTOISESVN and VISUALSVN Server build SVN version control system