An error occurred while converting the import code from local to utf8 in SVN, And the svn work copy has been locked after checkout to local, which has not been included in version control.

Source: Internet
Author: User

1. Request-Description

We deployed the svn service on a server and encountered special problems when importing projects and cheokout.

1.1 failed to convert from local encoding to utf8

This problem occurs when the import command is used:

 
SVN import/local/path/http: // URL-M "Firest version" -- username -- Password

This command is interrupted, and the prompt is: SVN: "path" failed to convert from local encoding to utf8, followed by some description information, and finally some character encoding;

As follows:

SVN: the entries in the directory "/Your/work/path/" fail to be converted from local encoding to utf8.

SVN: Effective UTF-8 data
(Hexadecimal :)
Followed by an invalid UTF-8 Sequence
(Hexadecimal: A9 A6 2B A6)

1.2 # The working copy is locked. Run clean up. When you run clean up, the following error is reported: ### the file has not been included in version control.

It is useless to follow the svn error prompt, and the same error is reported no matter what commit or update you use.

2. solution-Solution

For question 1.1, I searched the internet for the following solutions: 1. Click Open link; 2. Click Open link; 3. Click Open link;

Common methods include:

Modify local environment variables$ Export lc_ctype = en_US.UTF-8

After testing, the problem cannot be solved. Later, this message prompts me:

It is found that/Your/work/path/has garbled files. After deletion, the problem is solved.


1.2 The problem is difficult to solve. As prompted by the system, the problem cannot be solved, but new problems may occur.

Several links that may help you: 1. solutions on the foreign language Forum; 2. blogs;

1. solution:

Unfortunately, all of the above methods are ineffective for me in this situation, and finally found the solution:

Thanks to josentop,
Find the. log file in the hidden directory, cleanup it again, and submit it again.


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.