How to use SVN in MyEclipse this post contains pictures (2012-04-19 12:18:35)

Source: Internet
Author: User

SVN operating Manual in MyEclipse

1. Import the project

Click "File-import" on the toolbar to enter

(If your dialog box does not have an SVN entry, it may be because you did not install the SVN plugin, please install after the completion of this blog post)

Click Next to enter

Click Next to enter the IP address of your SVN server, including the full path such as port number and folder.

Click Next to enter

Enter your username/password to import successfully.

When the import is complete, the interface appears as shown

Reprint Please specify source:http://blog.sina.com.cn/s/blog_8a3d83320100zhmp.html


2. Update (update to latest version)

How to ensure that your project and the code on the server are consistent, this requires an update operation.

Right-click on your project, press the path shown, click "Update to HEAD", you can update your project in sync.

< note: After you click Update, the files that you changed locally are generally not covered by the old version >

3. Lock (Lock the file to be modified to prevent file conflicts)

Lock the file you are about to change so that no one else can submit the file you have locked, then the file will not conflict.

     

4. Submission (after the project has been modified)

1) If you modify the file locally, the icon for the file will be "*"

2) If you add a new file locally, the icon for the file will be hit "? ";

The upper node icon of the file will be "*";

3) ...

As shown in the style

When you want to submit the item you changed, then on the file that needs to be submitted, click the right mouse button, click on the path shown, tap "Commit",

< note, not only can you commit on the file you changed, you can also submit it on the upper node of the file you changed >

Fill in some memo information to manage your version information

5. Unlocking

When you have finished working on the file, release the file, and the file will be unlocked.

On the file that needs to be unlocked, click the right mouse button, press the path shown, click "Unlock",

Reprint Please specify source:http://blog.sina.com.cn/s/blog_8a3d83320100zhmp.html

6. View historical changes

If you want to observe the modification history of a file, you can view the file's version information by clicking the right mouse button on the file, clicking on the path as indicated, and tapping on the "Local".

The file's historical modification information appears, and you can find the information you need based on the file submission time provided by the system.

7. File restore

When you need to restore your changes, click the right mouse button, follow the path shown, click on "Local history" to view the file version information comparison.

Double-click Time to see a history of responses

Reprint Please specify source:http://blog.sina.com.cn/s/blog_8a3d83320100zhmp.html

——————————————————— Problem Solving ——————————————————————

<</b> file Conflicts >

1. What are file conflicts

Conflicts occur when two or more developers make changes to a few lines of the same file.

Scene:

A and B update the project at the same time, and then

A after modifying the JSP file

1) Update

2) Submit

b also modifies this JSP file

Then b after a successful submission, the update will have an effect that is the conflict effect.

2. File Conflict resolution

1) Delete One of them, as shown in.



2) Submit after conflict resolution.

3) Submit complete as shown in.

3. How to avoid file conflicts

Be sure to lock the file before you modify it!

Reprint Please specify source:http://blog.sina.com.cn/s/blog_8a3d83320100zhmp.html

How to use SVN in MyEclipse this post contains pictures (2012-04-19 12:18:35)

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.