Several Functions of tortoise SVN

Source: Internet
Author: User
Tags tortoisesvn

Reprinted please indicate the source: http://blog.csdn.net/horkychen

1. Multiple users modify the same code
Lock/unlock
To prevent multiple users from modifying a copy of the code at the same time, add the lock!
Right-click the file or directory-> tortoisesvn-> get lock
Right-click the file or directory-> tortoisesvn-> release lock

2. Statistics)

To view the frequency of developers' submission.

 

3. Specify the ignore file list for the project

You can also view and modify the directory attributes, as shown in the following two figures.

You can directly view the svn: Ignore value in properties.

In project Properities, you can set tsvn: logminsize to specify the minimum number of log message bytes to be entered during submission. This restriction will be added to new projects to avoid submitting empty log information.

 

4. Who changed and what line (blame)
When viewing files, you can view the changes made by users in a specific period of time row by row.

5. branching and tagging)
In code management, branching is used in the following scenarios:
A. You need to go back to a specific version for development. For example, project a requires that a new project program be released based on version 1.10.
B. Improve existing projects without affecting existing work. In this case, the general practice is to create a new project, but if tortoisesvn is used, we can directly create a new project based on the existing code.
For example, the previous improvement on existing programs, the original practice was to export the original code to create a new project. If you have any requirements in the future, you can refer to the method for establishing branch.

About merge:
See the following example:
Project B adds a function based on project a as required. To avoid affecting normal release, a branch is created for development, after the development is complete, you need to merge the new functions into project A. merge is used to complete such a task.

The tag is related to branch. The tag only serves as an identifier. For example, to create a node for Kimo rc33, you can easily obtain the source code of rc32 in the future.
In principle, tortoisesvn does not allow the tag to be submitted, that is, it is regarded as a read-only item, but the user can still force the submission.

To sum up, the most complete definition of a project in SVN should include three basic directories:
/Trunk
/Branches

/Tags

 

(End)

 

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.