SVN (TORTIOSESVN) versioning ignored paths (e.g. bin, obj, Gen)

Source: Internet
Author: User

In SVN version control, novice users often encounter problems such as:

1, the entire project will be submitted together with Bin, Gen,. Project to the server

2, to avoid the submission of compilation, local configuration and other files in the project to the SRC, RES submitted separately, but the entire project remains uncommitted file status

3, because the bin mechanism is to delete all its contents re-create the compiled file, resulting in SVN conflicts, exceptions


The workaround is simple:

Scenario One: initial project creation

Add directly to the bin, Gen,. Project, and other files that do not need to be committed and are versioned (remove versioning and add to the Ignore list) ignore list


Situation two: Already is the development medium-term, the application project

1. Already in conflict

Restore the project clean up to the original version, then update it with SVN and add it to the Ignore list before submitting

2. Normal path

Revert or update to join ignore list after unification with SVN version


After ignoring the control, the TORTIOSESVN tool in the MyEclipse or Windows interface can submit directly to the entire project without affecting the compilation file.


P.S.

1) TORTIOSESVN tool, right-click Add Ignore List

2) Android Project recommends ignoring:. settings, Bin, Gen,. Project

SVN (TORTIOSESVN) versioning ignored paths (e.g. bin, obj, Gen)

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.