Subversion Directory specification

Source: Internet
Author: User

Subversion provides the main line, branch management technology, making the software development can be more convenient,

Flexible management of Project progress, release of releases, maintenance of versions, expansion and customization of software functions.

Main Line (trunk): When a project is established, it grows with the growth of the project until the project is completely finished.
Branch (branch): generally refers to a function branch, for example: one of our projects to add a module, but this module is more complex, the implementation of a relatively difficult.
In order not to affect the stability of the main line, we can create a functional branch to specifically develop this module, when the module is developed and tested by the testing department
, then merge into the main line. For example, our traffic police GPS project has been developed, but this project is to the Quanzhou traffic police to do,
Now we have received a traffic police project, but to the Xiamen Traffic Police Brigade. Now the Xiamen Traffic Police Brigade asked us to customize some of their functions.
We do not want to change the main line, this time, we can also create a branch, and on this branch development, this will not affect the main line.
After the completion of the development of Xiamen, we found that they asked some of the functions are actually very good, and other places may also need the same function.

At this point, we can merge the useful modules into the main line according to our needs.

Tags: tags and branches, as well as a directory, but this directory is generally stored in the release of information (of course, we can only use the branch, but with the label more clear).
Or take our traffic police project to give an example: our Traffic police project development has been completed, to the Quanzhou traffic Police brigade used, that is, to release (release),
Suppose this version is called 1.0.2. At this time, we will create a label, when the Quanzhou traffic Police brigade for three months, found a BUG,
We just need to check out the code in this tag (it is exactly the same as the one we provided to the Quanzhou Traffic Police Brigade), debug it, and fix the bug.
And then release a version, assuming it's called 1.1.0, this time we're creating a 1.1.0 tag ...
Note that the code inside the tag directory should be tightly controlled, and not be able to do anything other than fix bugs.

Subversion Directory specification

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.