Submitting a project to SVN shows that the submission was successful without uploading

Source: Internet
Author: User
Tags svn

Today, when a new colleague uses SVN to submit a project to the server, Android Studio prompts for a successful submission, but there is no corresponding content on the servers side. The question is summarized as follows:
Fault Occurrence Description
Write in Android Studio to develop projects under SVN. Several new classes have been added to the project. (At this point, the new class is shown in red in studio) the new class commits directly to the server after the development is completed. Studio also showed that the submission was successful. At this point to the server view will find that there is no new submission on the code.
Solutions
The problem is that when you add new content to the SVN project, if you want to upload the new content to the server, you need to add the content to the VCs before committing again to upload to the service side.

Specific solutions:
Select the newly created file, right-Subversion–>add to VCS, and then commit to upload successfully.

file colors in Android studio mean meaning (differs from Eclipse)
Red: New locally created file, no server, no list to upload. Add to VCs is required before committing.
Green: Local newly created file, server not, to upload list has, can be submitted directly.
Blue: Local New Modified file, server has, local also, but the version is not the same, can be submitted successfully, need to see whether there is a conflict.

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.