SVN clean up failure and SVN is already locked situation resolution

Source: Internet
Author: User
Tags sqlite svn svn update tmp folder

Prospect: I was in the company's server a few days ago, the tease forced a bit, get the server to update the code, always say SVN problems, but also clear the solution is clean up under SVN, I hurriedly go to point clean up, but it hemp or remind me to clean up, I thought I was a novice , the server SVN crashed, the mood is very disturbed, finally on the Internet, the original solution so simple ....


Resolution Steps


First, download splite3.exe (download address: http://www.sqlite.org/download.html)

Visit the above URL, find precompiled Binaries for Windows, click to download the following content


Second, after decompression, put in a position, such as D plate under



Third, find yourself SVN project. svn file (generally hidden, if not shown may be because the computer will hide the file is not set to display, can be modified in tool/Folder Options/display hidden files), under. SVN find wc.db files, copy-------> Paste it into the sqlite-tools-win32-x86-3140200 file above, as shown in the following illustration:





Open Cmd.exe and execute the following three-line command:

Sqlite3 wc.db Carriage return

SELECT * from Work_queue; carriage return

Delete from Work_queue; carriage return




After performing the command in step fourth, copy the Wc.db file that performs the cleanup to the original. SVN, replace the previous wc.db, and then perform the cleanup

The solution is complete, so the clean up will prompt you for success ...



Vi. add: If the cmd is finished, and then forgets to perform step fifth, you will be prompted to update the code directly to the SVN is already locked, so if this problem occurs if you do not perform step fifth, performing clean up will generally solve the problem.

Vii. add: If the SVN update file returns a similar error to the "Unable to create pristine install stream" when clean is up, go to the project you want to update, Find the. svn folder (hidden if it is not), create a new TMP folder in the folder, and update it again.

SVN is already locked situation

1. I remember if the. svn file where locked represents the location, a file with a lock typeface is found, just delete it,

But this method I have seen a long time ago in other places, this is a processing method, we refer to it. Note that the. svn file defaults to

Hidden.


The bottom is copied from someone else's blog. Personally recommended first, because I did not use the back of the Ang, dare not talk nonsense.


1. When this problem occurs, use "cleanup", or "clean up", and if not, go directly to the previous directory, then perform "cleanup" and
then "Update".
2. Sometimes if you see a package inside the folder does not have SVN logo, directly with "Ctrl+delete" manually deleted, and then "clean up", the
Last "update" or "submit."
3. Sometimes some files can not be submitted and updated, there are lock words hint,: first click on the file, then Getlock, then select
Steallock, and then release lock can.




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.