SVN server configuration and use of tortoisesvn, ankhsvn +

Source: Internet
Author: User
Tags tortoisesvn
SVN server and client Installation

1. download and install the visual svn-server. (Process omitted)

2. download and install the tortoisesvn client. (Process omitted)

3. download and install the vs plug-in ankhsvn. (Process omitted)

Create a repository on the server

Open visualsvn servermanager, right-click repositories-New-repository, and enter the repository name (RECHARGE) in the displayed dialog box)

Security Settings

Right-click users on the left and choose create-user. In the displayed dialog box, add the user name and password: (Note that the user name and password are case sensitive.)

 

Set Source code Migrate to SVN Server

Find the new project folder (the project is already included), right-click tortoisesvn-import, enter the repository URL in the pop-up dialog box, and click OK to complete source migration.CodeTo the svn server.

Set Project Permissions

In SVN, permissions are divided into three types: noaccess (unavailable), read and write (readable and modifiable), and read only (read-only ).

Right-click the file to which you want to add permissions-all tasks-managesecurity. In the displayed dialog box, click Add. In the displayed dialog box, select the added user name and click OK, select permissions in the security window and click OK..

Migrate source code to visualstudio2010

Open visual studio2010, select Tools-options-sourcecontrol- ins, and select ankhsvn.

Click file-subversion-openfromsubversion. In the pop-up window, enter the repository URL. The enter user name and password dialog box is displayed, enter the user name and password and select the code file to be migrated to migrate the code to Visual Studio. In solution resource management, you can see the migrated project file. If there is a question mark and an exclamation point before the project file, it means that the current user has no access permission to the file.

Update the project from the server to the latest version.

Right-click the project in Solution Explorer and select update protect to latest version.

Submit the modified project to the server

After the project is modified, the check box in front of the project file is orange. In Solution Explorer, select a project file or the entire project file, and right-click commit. If the file is read-only to the current user, the system will prompt you to prohibit modification and other information when submitting the file.

View version update history

Right-click -- viewhistory. In the displayed dialog box, you can view the version Update Time, author, and version information.

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.