Tag Archives: SVN

SVN Error: ‘you’ is not valid as filename in directory [How to Solve]

Svn reports an error ‘you’ is not valid as filename in directory. Solution:

Baidu search: “SVN is not valid as filename in directory”, totally useless!!! There is no real solution

Google search over the wall, such as: http://stackoverflow.com/questions/18452218/how-can-i-get-rid-of-the-error-folder-name-not-valid-as-filename-in-directory

It means that Linux system allows the names of files or folders to contain spaces, while Windows does not allow them. Therefore, the solution is to use turtle (SVN)   Repository browser) to SVN server to remove the space in the file or folder (This method means that it is not used at present, and the MAC is changed,,,,)

OK;

 

[Solved] SVN commit Error: is scheduled for addition, but is missing

After passing the Cr (code review) code review of SVN today, I want to execute SVN CI – M “XXXXXXX” (submit comments)   Issue = 3380305 “, but it is not submitted successfully. SVN reports an error

The contents are as follows:

Prompt: “SVN: commit failed (details follow): SVN: ‘/ xxx/YYY/(file or folder path)’ is scheduled for addition, but is missing  “。

Reason: the files/folders previously submitted with SVN are marked as “add” and waiting to be added to the warehouse. If you delete the file at this time, SVN will still try to submit the file when submitting, although its status is “missing”

Solution: use “SVN revert” on the command line  / XXX/YYY/”, in the graphical interface, right-click — revert and select the file. In this way, tell SVN to return the file to the previous state of “unversioned”, that is, do not make any changes to the file. At this time, execute the submit command again

 

Svn service startup error 0x8007042a [How to Solve]

Server environment: Windows Server 2008 R2 Enterprise Edition, visual svnserver 2.6.5

The code cannot be checked out. It is found that the SVN service is shut down and an error is reported when it is started manually:

Event Viewer:

Error: no listening sockets available, shutting down
Error: Unable to open logs

Cause: the port is occupied

Solution:

Visual svnserver – menu – operation – properties – Network view port is 433

Netstat – ano check the port status. Port 443 is occupied by the pid4 process. This is the system process. Check IIS and find that a website occupies port 433

Modify the port to resolve the conflict

 

An error is reported when the SVN is submitted. The prompt is locked and cleanup is required

 

Original address:

https://www.cnblogs.com/poterliu/p/9285137.html

 

Errors are often reported when submitting or updating code using SVN. The general prompt information is as follows:

  Working copy “XXX” locked.

        ” XXX” is already locked.

        Please execute the ‘Clean up’ command.

As shown in the figure:

 

Solution 1:

Use a tool that can open SQLite database (my Navicat premium) to open the wc.db file in the corresponding SVN directory

 

  Navicat premium opens the wc.db file and empties WC_All records of lock table  

 

  After emptying

Close the tool that opens the wc.db file (not closing will lock the wc.db file), and resubmit the code

 

Solution 2:

Open the task manager under windows and kill the process tsvncache.exe

 

Solution 3:

1. Copy the file you have modified to another place and back it up
2. Delete the problematic directory
3. Update the deleted directory with SVN and pull the code again
4. Copy your backed up files or manually merge the modifications that need to be retained
5. Submit

 

  

 

Reference:

https://blog.csdn.net/bit_kaki/article/details/70255692

https://blog.csdn.net/coffeecato/article/details/55104311/

https://stackoverflow.com/questions/17274329/svn-1-7-8-database-is-locked-cannot-release

https://stackoverflow.com/questions/127932/working-copy-xxx-locked-and-cleanup-failed-in-svn

 

End of the full text

:)

 

MyEclipse checks out the project from SVN and reports an error

Today is the first day of internship in the company. After checking out the project from the SVN server, I found an error

Solution:

1.

Right click the item and select properties — > Select resource — > Check others and replace with UTF-8

2.

Right click the project MyEclipse — > Exclude From Validation;

Then right-click the project MyEclipse — > Run Validation.

SVN:sqlite[S5]:database is locked [How to Solve]

Yesterday afternoon, after modifying several conflicting jar packages, an error was reported after submitting SVN. Then the SVN operation failed. Whether it is clean up, revert or release lock, it is useless. Solution:

First, Download SQLite3. My is 64 bit win7. There is no need to download and install on the official website. You can directly download sqlite3.exe. The download link is http://download.csdn.net/detail/whyzzj/6346529 。 Sqlite3.exe needs to be placed in the same directory of wc.db before it can be used. This should be noted. For example, my engineering app_The engine is placed in the workspace of disk e, and the wc.db file is in appengine /. SVN (where SVN is a hidden directory, you need to unhide it before you can see it). Then put sqlite3.exe in. SVN

First, check whether there are tasks to be processed in SQLite database:

E:\workspace\app_engine\.svn>sqlite3 wc.db
SQLite version 3.7.15.2 2013-01-09 11:53:05
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from work_queue;
sqlite>

 

No, if any, delete and exit:

sqlite> delete from work_queue;
sqlite> .quit

E:\workspace\app_engine\.svn>

At this time, operate SVN again. If not, you need to regenerate wc.db

E:\workspace\app_engine\.svn>move wc.db wc.db.old
E:\workspace\app_engine\.svn>sqlite3 wc.db.old
SQLite version 3.7.15.2 2013-01-09 11:53:05
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .backup main wc.db
sqlite> .exit

E:\workspace\app_engine\.svn>

Here, rename the original wc.db to wc.db.old, then enter the wc.db.old database for backup, the backup file name is wc.db, and then exit the database. Now run the update of SVN to see if the database will not be locked. If not, then I can only regret to tell you that I have no choice

 

The reason for this problem is often that the eclipse SVN conflicts with the local TortoiseSVN. For example, when you open eclipse, you use TortoiseSVN to update and have file conflicts. This is to turn off eclipse after the error message appears. Use TortoiseSVN to clean and then update. No, use the above method. Remember to turn off eclipse first

An error occurs when SVN executes the clean up command

When SVN executes the clean up command, an error “previous operation has not finished” is reported; run ‘cleanup’ if it was interrupted”。 No matter which parent directory you go to, execute “clean up”  “, It’s the same mistake. When executing cleanup, prompt to clean up. It seems to be in a dead circle

1.      Embedded databases are generally managed with SQLite for lightweight. You can go to sqlite-shell-win32-x86: sqlite3.exe on the Internet

2.      To facilitate command line execution, sqlite3.exe is placed in SVN   Under the main directory of the project, at the same level as the. SVN directory

3.      implement   sqlite3 .svn/wc.db “select * from work_Queue “. See 4 records. That’s what I just did

226539| (sync file flags 93) directory name   (file name)

226540|(file-remove 21 .svn/tmp/svn-7B43C232)

226541|(sync-file-flags   Directory name   (file name)

226542|(file-remove 21 .svn/tmp/svn-7B48224E)

4.      implement   sqlite3 .svn/wc.db “delete from work_queue”.   Clear the queue

5.      implement   sqlite3 .svn/wc.db “select * from work_queue”.   Confirm whether the queue has been emptied. If no record is displayed, it indicates that it has been emptied

6.      Finally, try again to see if you can    Clean up. It was a success

[Solved] SVN Error: “containing working copy admin area is missin

I. Introduction
Scene description
A directory was created in SVN, but it was not deleted in svn, but was deleted directly in the resource manager or finder. At this time, SVN will report an error saying that the created directory cannot be found. The error message is: “containing working copy admin area is missing”

Such as

Directory’XX/.svn’ containing working copy admin area is missing

So how to deal with it

Two, the solution
1. Delete the XX directory.

2, Use the SVN Update command to update XX and its sub-directory resources, specific to the eclipse project, right-click on the parent directory of the deleted directory and select Team-》Update

Get it done.

Jenkins configuring SVN Error: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

Recently, I was learning Jenkins. When configuring SVN, I found that there are always errors

 

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_ name

 

This error was encountered when using the SVN plug-in of idea. Just add the following code to the Java parameter:

-Djsse.enableSNIExtension=false

 

In Jenkins, use the following method to solve the problem:

1. If you start from the command line, add the following (brilliant part) at startup:

@echo off
set JENKINS_ HOME=D:\jenkins
D:\jdk1.7.0_ 40\bin\java -Djsse.enableSNIExtension=false -jar %JENKINS_ HOME%\jenkins.war –httpPort=8000

2. Open jenkins.xml file in Jenkins directory when starting windows service, and add it in the following parts:

< arguments>- Djsse.enableSNIExtension=false -Xrs -Xmx256m -jar “%BASE%\jenkins.war” –httpPort=8000 -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle</ arguments>

 

How to Solve SVN Error: “Previous operation has not finished; run ‘cleanup’ if it was interrupted“

Problem Description

Pull down the Document document (word and excel) from SVN, after modifying it locally, prepare to submit it through TortoiseSVN, and found an error.

Error: Previous operation has not finished; run’cleanup’ if it was interrupted.

No matter whether it is commit or updete, it will prompt you to perform clean up. But svn reported an error “Previous operation has not finished; run’cleanup’ if it was interrupted” when executing the clean up command. No matter you go to the parent-level directory and execute “clean up”, the same error will be reported.

problem causes

It may be that there is no update before the local file is modified, which causes a conflict when committing, causing SVN to crash.

Solution

method one:

Back up the files you modified, delete the previously downloaded files, and download a copy from SVN to the local. This is too time-consuming and inconvenient.

Method Two:

After searching online, the operation of svn is stored in the “work queue”. The “work queue” is in the work_queue table of the embedded database wc.db. Look at what is placed in the work_queue table, and then do the processing.

1. Download sqlite3.exe from the Internet and decompress it to the folder D:\document\.svn. The sqlite3.exe after decompression is only 475KB in size.

 

Note: The path D:\document\.svn is the local path of the code or file you pulled down from SVN. The .svn folder is hidden and invisible by default and needs to be set to be visible: Tools-Folder Options-View-Hidden Files and Folders.

 

2. Run cmd, enter the folder D:\document\.svn, execute sqlite3 wc.db, and open the database

 

3. Execute .table to view the table name

 

4. Execute the delete from work_queue; command.

5. Retry the clean up operation and the problem is solved.