SVN on MAC versions can't upload. a file

Source: Internet
Author: User

Actual development in the use of SVN version management software when you encounter some third-party libraries are unable to upload. A file causes a direct error in the project, indicating that no. a file was found.

This is also the problem I encountered in the actual project, although you SVN can provide a good team to develop the platform of the merge code, but there are some not easy to worry about the small problem, even so, we still can not refuse to use SVN, so we can only solve him, the following is my internet search for the relevant solutions, Hope to help everyone!

Xcode's own SVN and versions and some other tools all default to ignore ". A" files.

There are two solutions:

method One: Add a file using the command line

1. Open terminal, enter CD, space, and then drag and drop the folder (not. A file) of the. A file that you want to upload to the terminal (this method does not need to input cumbersome path, fast and convenient), enter;
2. Then enter the following command: SVN add libocmock.a, enter;
3. The following will appear: A (BIN) libocmock.a
Add success, open versions can see, just added the. A file, at this point can be manually uploaded.

Also, enter the command line in Mac 10.8 and you may be prompted to command not found because 10.8 does not have command lines tools installed by default, Workaround: Command not found workaround.

method Two: Manually add files in versions

Select the Versions menu View-->show ignored Items so that the ignored file will be displayed and the. A file you want to upload, right-click on "Add".

Extended:

Another one does not need to set the system entry, directly resolve the inability to upload. A file, but not always reliable, so it is recommended that you use the above two methods

is to submit the modification of the file when you do not choose "Commit any", but choose "Add work Copy", like to study new technology, new methods of friends can try.

SVN on MAC versions can't upload. a file

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.