Go SVN server Setup and use (ii)

Source: Internet
Author: User
Tags tortoisesvn

SVN server Setup and use (ii)

Original: http://www.cnblogs.com/xiaobaihome/archive/2012/03/20/2407979.html

The previous article introduced the download, installation, and VISUALSVN of the server and TORTOISESVN. This article describes how to use VISUALSVN server to build a repository, and the use of TORTOISESVN.

First open the VisualSVN Server Manager:

You can see some information about the repository on the right side of the window, such as status, logs, user authentication, repository, etc. to build the repository, you need to right-click the repositores in the left window:

In the popup context menu, choose Create New Repository or create new->repository to proceed to the next step:

Enter the repository name and tick the Create Default structure check box (recommended). Click OK, the repository is created, and the repository will default to build trunk,branches,tags three folders:

At this time we import the project into the repository, find your project folder, right-click on the project folder, find the SVN menu, select Import:

In the pop-up dialog, fill in the repository URL, this URL can be obtained from VISUALSVN Server Manager, right-click on your repository, select Copy URL to Clipboard, then copy the repository URL to your clip version.:

Paste the copied repository URL and add the trunk subpath after the URL. Then insert the import information into the import Information "Import Project to Repository".:

Click OK and the selected item will be imported into the repository.:

After the project is imported into the repository, it is not easy for anyone to read and write to the repository, so user groups and users need to be established.

Right-click the user group on the left side of the VisualSVN Server Manager window, select Create User, or create a new->user:

In the popup dialog box, fill in the user name and password, then click OK:

Create user Develpoer1,develpoer2,develpoer3,test1,test2,manger Six users in the same way, representing 3 developers, two testers, and one project manager, respectively:

Then we set up the user group, right-click the user group on the left side of the VisualSVN Server Manager window, select Create Group or create a new->group:

In the pop-up window, fill in the group name as developers, then click the Add button, select three developer in the pop-up window, add to the set, then click OK:

Create group Managers,testers in the same way:

Next we set the permissions for the user group, right-click on Myrepository, select Properties:

In the dialog box that pops up, select the Security tab, click the Add button, select Developers,managers,testers three groups, and then add them, set the Developers,managers permission to Read/write, The tester permission is set to read only,:

At this, the server is finished.

Next, we use the client to check out the code, right-click on the left side of the desktop, select the SVN checkout, in the Pop-up dialog box to fill in the repository URL (specific access, the upload project to the repository when said), choose to check out the directory, click OK.:

To start checking out a project:

After checkout is complete, we open the Working Copy folder and see all the files and folders have a green √.:

Now that the repository is created and the project is imported using TORTOISESVN, the checkout project has been introduced.

The next article describes the use of TORTOISESVN and conflict resolution.

Go SVN server Setup and use (ii)

Related Article

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.