Window7 using SVN (SVN series Client Knowledge II summary)

Source: Internet
Author: User
Tags tortoisesvn

? Eclipse Plugin Subclipse

? TortoiseSVN

? SVN operation

? precautions

Use SVN to install subclipse directly in Eclipse or use TORTOISESVN in Windows.

1.eclipse plugin Subclipse

can be installed online or offline, only the offline installation is described here.

Download subclipse:http://subclipse.tigris.org/

csdn:http://download.csdn.net/detail/sinat_31719925/9800062

Note: You should pay attention to the corresponding Eclipse version number when downloading

1.1 After download, unzip

Extract the features and plugins folders from the folder, and copy them to the f:/eclipseplugin/svn/directory.

1.2 Configuring Svn.link

Create a new folder in the Eclipse root directory links, so you get eclipse\links

Create a new link file under Eclipse\links: Svn.link

Write the following sentence in Svn.link path=f:/eclipseplugin/svn/, or path=f:\\eclipseplugin\\svn/.
(That is, path= your plug-in installation directory (on behalf of Eclipse to which path to load the search))

For example, mine is:

Then restart Eclipse.

Used in 1.3eclipse

Eclipse, File->import the menu item, and then check out the project from SVN

Set the URL of the resource pool

Select item

Import from server succeeded

Right-click the project, select Team, you can commit or update the action

2. Using TortoiseSVN

TortoiseSVN is just a shell extension that has been integrated into Windows Explorer. So it's very simple and useful.

Download tortoisesvn:https://tortoisesvn.net/downloads.html

csdn:http://download.csdn.net/detail/sinat_31719925/9800065

After installation, right-click any folder in Windows and you can see:

Select Checkout, pop Up the box, fill in the repository URL, and then you are ready to fill in your account password.

3. SVN operation

3.5.1 Publishing a project to the server

Project right, select "TortoiseSVN", "Import"

3.1 Downloading items from the server

Any folder, right mouse button, select "Svncheckout"

The rest, publish the project to the server, commit (commit) modify, Synchronize (Update) files, add files and directories, delete files and directories, starting from the old version, create, merge branches, do not repeat.

4. Precautions

4.1 SVN Why do I have to update and submit it first?

The first update is submitted, to prevent conflicts or overwrite the code of the person.

For example, your code is the October 1 download version of October 2, stay B King updated one of the files, such as Test.java uploaded svn October 3, you also want to modify Test.java this file. If you do not update, modify it directly.   And then uploaded the SVN. Now, you're the only one on SVN. Change the code to stay B king, is equal to never moved Test.java if you update the re-modification, it is the same as the B-King modified on the basis of modification.

Series Articles Directory:

centos5.11 Erection SVN (SVN series Server knowledge Summary)

Window7 using SVN (SVN series Client Knowledge II summary)

Window7 using SVN (SVN series Client Knowledge II summary)

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.