1. Why use VISUALSVN Server instead of subversion?
Reply:
Because if subversion is used directly, then on a Windows system, if you want it to boot with the system, you need to encapsulate the SVN server as the WINDWS service, and modify the configuration file to control the user rights, in addition to the Web-based "HTTP protocol" Access, general also install the configuration Apache, if is novice, is not very headache? and VISUALSVN serve integrates subversion and Apache, eliminating all of the hassle. Installation of SVN server has been encapsulated as WINDWS Service,apache server configuration is only in the image interface, specifying authentication methods, access ports and other simple operations, in addition, the management of user rights is also configured through the image interface.
2. Why not TFS?
Reply:
Because we started with subversion and TORTIOSESVN, we didn't replace other software. As for TFS has not been used, in fact, I just read some of the article, I do not understand it.
is 3.VisualSVN server free?
Reply:
Yes, VISUALSVN server is free, and VISUALSVN is charged. VISUALSVN is a client of SVN, integrated with Visual Studio, and VISUALSVN server is the servers of SVN, including subversion, Apache, and user and rights management, the advantages of which have been mentioned above.
Well, to get down to the beginning, formally start our tutorial today.
I. Configuration and usage of VISUALSVN server "server Side"
After installing VISUALSVN server "install process here", run VisualSVN server Manger, the following is the startup interface:
OK, let me add a code base "Repository" such as:
Create a new code base, as shown in, and enter the code base name in the text box shown:
Note: If the checkbox is checked, the trunk, branches, tags Three subdirectories are created below the code base Startkit, and if unchecked, only empty code library Startkit is created.
Click the OK button and the code base is created successfully.
After creating the code base, nothing is inside. I'll show you how to move into the source code in the second part of this tutorial.
Below, we start the security settings and right-click on the users on the left:
Enter the information above, click OK, we will create a user. According to the above procedure, add the user Developer1, Tester1, manager1 Separately, OK, we start to add these users to the project we just created:
Click on the "Add ..." button in the Select the user we just added, click the OK button:
Note: You may have noticed the groups, yes, you can also create a group, add users to the groups, and then authorize the group, the operation is relatively simple, this is skipped.
As shown, the user "or group" is authorized separately:
Click on the "OK" button, the above users have access to the Startkit code library different permissions.
Because user starter is a newcomer to the team and does not want him to submit new code to the codebase, he can only read the code in the code base and cannot commit the code. Tester1 is a tester and is not responsible for code writing, so it is also read-only permission. Developer1 and Manager1 are developers and project managers who naturally have read and write permissions.
In the actual project development process, developer and tester often cannot have only one person, this time uses the group to authorize more convenient, this everybody can practice for oneself.
//-----------------------------------------------------------------------------------------//
Today you want to install a code manager plug-in in your development environment IDE (Visual Studio 2010). I use the VS2005 is always used AnkhSvn-2.1.7444.278 This version, the use of the process is also very cool and no problem, so also is to apply this plugin also in the VS2010.
Step1, home Open your own VS2010, go to the menu "tools-" option, then a pop-up "Options" window, select "Source control--> plugin Select" This, and then select the plugin in the window "ANKHSVN", and then save. Such as:
Step2, and then in the VS2010 select Menu "View--" other window-"pending Changes", there will be a system.argument error, menu operation steps such as. But because oneself is solves the system.argument mistake to write this article, therefore the error message did not crawl.
The above problem, certainly need to solve, and then found on the network some users have encountered similar problems, and the reason for this problem is the version is too low cause. So I then downloaded a new version (Ankhsvn-2.1.10019.14.msi), repeat the above layout, problem solving.
//
Previous use of official subversion to build the SVN version control environment, feel very cumbersome, need to manually the file, very troublesome, today on the Internet to see the VISUALSVN Build version control environment method, write to share with you. Please ask questions O (∩_∩) o~
1. Download the installation files (server side and client)
Server-side adoption of VISUALSVN, a usable is: http://idc218b.newhua.com/down/VisualSVN-Server-2.1.2.zip, if the link fails, from Baidu Google search can be, a lot.
Clients use familiar TortoiseSVN, yes, that little turtle, the official is: http://tortoisesvn.net/
Server-side used to hold the file submitted, the client used to connect to the server side, submit and download server-side files, (this does not need me to say, the next topic ^_^)
2, install the server side, unzip the downloaded file Visualsvn-server-2.1.2.zip, double-click Visualsvn-server-2.1.2.msi to install
One interface during installation is to select the components to install and select the first "VisualSVN Server and Management Console".
Settings for the next interface
You can change the directory, or you can change the port, note that the port does not conflict with the port that is already in use, remove the option of "Using Secure connnection https://"
Here c:/repositories is the server document directory, which is the directory we submit to the SVN document, this directory can be changed
Click Next and the default installation is complete.
3, install the client software Tortoisesvn-1.5.3.13783-win32-svn-1.5.2.msi, double-click the default installation is ready, the installation may be restarted, restart.
4. Configure the server side
Click Start-to-->VISUALSVN-->VISUASVN Server Manager to start Server Manager, right-select VisualSVN Server (Local), select Properties, Select the Network tab in the Pop-up window, enter the IP address of this computer at ServerName, my address is 192.168.158.129, port I select 8080., OK save, then click VISUALSVN Server to see the right side of the interface, Our access address is the sever URL http://192.168.158.129:8080/svn/
Now we create a new two directory, right-select repositories, select Create New Repository, enter the name document, save
Create a new user, right-select users, select Create User, enter the password test,test, which will be used when the client connects to the SVN server
To add a user to the document repository just created, right-select document, select Properties, click the Add button, select the user you just added, save,
In this way, the server side is configured, back to the client
Since the client software TORTOISESVN has been installed, under the D disk, create a new folder Testsvn, open the folder, right-click Check Out (Checkout),
Enter at the repository URL of the pop-up window, http://192.168.158.129:8080/svn/document
OK, save. Note that the above check-out to the directory is D:/TESTSVN,
Create a new text document in TESTSVN, create a new text document. txt, in the TESTSVN blank, right click, select Submit, (commit), the file will be uploaded to the document server, others can download.
vs2010+ ANKHSVN Use detailed