Create a version library with visualsvn server and use tortoisesvn

Source: Internet
Author: User
Tags tortoisesvn

The previous article introduced the download, installation, and localization of visual SVN server and tortoisesvn. This article describes how to use visual SVN server to build a version library and how to use tortoisesvn.

First open the visualsvn Server Manager ,:

You can view information about the version library on the right of the window, such as status, log, user authentication, and version library. To create a version library, right-click repositores in the left window ,:

In the pop-up context menu, choose create new repository or create-> repository to go to the next step:

Enter the version library name and check the create default structure check box (this is recommended ). click OK. The version library is created. The trunk, branches, and tags folders are created by default in the version library ,:

At this time, we will import the project to the version library, find your project folder, right-click the project folder, find the svn menu, and choose import ,:

In the displayed dialog box, enter the version library URL, which can be obtained from visual SVN Server Manager. Right-click your version library and choose copy URL to clipboard, in this way, copy the version library URL to your clipboard.:

Paste the copied version library URL and add the trunk sub-path to the URL. Then, enter the import information "Import project to version library" in the import information ".:

Click OK to import the selected project to the version library .:

After the project is imported to the version library, no one can read or write the version library. Therefore, you need to create user groups and users.

In the visualsvn Server Manager window, right-click the user group on the left and choose create user or create-> User ,:

In the displayed dialog box, enter the user name and password, and click OK ,:

Create six developers, test1, Test2, and manger in the same way, representing three developers, two testers, and one project manager respectively ,:

Create a user group, right-click the user group on the left side of the visualsvn Server Manager window, and select create group or create-> group ,:

In the pop-up window, set group name to developers, click the Add button, select three developers in the pop-up window, add them to the group, and click OK ,:

Create group managers, testers, in the same way ,:

Next, Set permissions for the user group, right-click myrepository, and select Properties ,:

In the displayed dialog box, select the Security tab, click the Add button, and select the three groups developers, managers, and testers. Then, add them to developers and set the management permission to read/write, set the tester permission to read only ,:

At this point, the server is complete.

Next, we use the client to check out the code, right-click the blank area on the desktop, select SVN check-out, and fill in the version library URL in the pop-up dialog box (specific acquisition method, as mentioned above when uploading a project to the version Library), select the check directory and click OK.:

Start to check out the project ,:

After the check-out is complete, open the work copy folder and you will see that all files and folders have a green √ .:

Now, you have created a version library and imported the project using tortoisesvn.

The next article describes how to use tortoisesvn and how to solve the conflict.

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.