What to consider in the actual application of SVN

Source: Internet
Author: User


    1. Client Version ( Eclipse plugin version)

The client version corresponds to the server version, and the client version is unified with the version of the development tool.

The large version number should be consistent, such as: The client is 1.6., and Eclipse 's svn plugin is 1.6. x ,x does not make the request.


    1. Rigorous copying of folders under version control


Colleagues who have used svn should know thatSVN puts some version control information on the client, the client's version information file, and the hidden ". SVN" folder (which appears under each folder under version control).

In the actual application, we tend to copy a completed module of the folder and the files inside, and then a little change, then become another module related files. This is not an option, but do not copy it with the hidden ". SvN" folder, otherwise the version commits confusion.

More secure method:1, only copy files,2, do not have version control export, modified after submission;

    1. Export without version control



    1. What is conflict, and conflict resolution

The conflict can be easily understood as, many people modified, the same version of the same file location, when SVN did not judge, accept the person's changes, so svn will throw a conflict.

For example:

Edit conflict


As you can see, line 3 has a conflict, one side is "11111111111111111", one side is "2222222222222"

At this point, the need for artificial judgment, accept the changes, and accept the "2222222222222" modification.

Resolve Conflicts




    1. Get the latest version before changing, lock


No matter when you get the latest version, make sure to remove the latest version, lock, modify, submit (unlock) before changing.

    1. Submit the version in a timely manner and submit a version with comments

Submit the version in a timely manner, when your work has progressed in stages, to submit a version, in order to have a backup, such as the creation of all directories, for the program, must be run without error to submit.

    1. View historical version and version comparison


    1. Modify file name


After the modification, submit.

What to consider in the actual application of SVN

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.