[Original] How to Baseline a Project in SVN

    Baselining is to add a mark to the things that are being baselined, and then after these things have been changed to form a new version, you can still see the original appearance of these things when the baselines were made, so that you can track and trace them. Version isolation.
In project management, the baseline is mainly to mark the things of the previous stage when the project enters another stage, which also serves as the beginning of the next stage.
    It is also very important to make a baseline when the program is released. If a baseline is made every time a new version is released, then the version can be rolled back; find bugs in a specific version; compare the differences between versions; release old versions and so on.
Usually version control software has the function of implementing the baseline.

And how does SVN make a baseline?
In fact, SVN can inherently check out a specific revision based on a revision number, but if you don't mind the trouble, you can use an excel to record the corresponding home directory of your current release program revision number. In this way, the document at that time can be checked out according to this revision number when needed.
However, the baseline is usually achieved through the "branch/tag" function on SVN. The implementation method in ecplise is as follows:
1. Click "window->Open Perspective" and select "SVN Repository Research".
2. In the "SVN Repository" on the left part of the interface, select the root directory of the project to be baselined, right-click the mouse, and select "Branch/Tag" in the pop-up menu.
3. In "To URL", fill in the directory you want to put the baseline in, usually change it to another directory, and then click OK.
After this operation, a branch is actually generated. This process does not consume the storage space of the SVN server, because it just creates a link corresponding to the current revision in a way similar to a physical link, so we can send a version each time Just hit a baseline without worrying about running out of SVN space.
The next time you need to use the baseline, you just need to check out the "to URL" directory that we filled in in the third step above in SVN.
However, the baseline cannot be modified. It is reflected in SVN that if the file you checked out from the baseline directory is modified, and then submitted, it becomes a branch version different from the original project.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326992497&siteId=291194637