I started my computer at the company this morning and prepared to update the svn Code. However, the svn: e155004: working copy 'e: \ xx' locked error occurred during the update, at first glance, I thought it was a configuration error, but they were normal when updating the source code. Later, I took a closer look at the cause of the error because there was locked, and it was estimated that it was locked and I found it online. The following conclusions are obtained:
Still if it doesn' t work, just lock all the files and unlock. Now clean up again, it will work.
SVN update SVN cleanup
Follow this solution and try svn-> clearup, so that the source code can be updated normally and the problem can be solved perfectly!
Cause of SVN: e155004: working copy 'e: \ xx' locked:
During local SVN update, the user cancels the update due to some operation interruptions, such as insufficient disk space. The local file may be locked. The solution to this problem is as follows:
1. You can use SVN clean up to clear the lock.
2. If the directory is not locked, the system prompts that the previous directory is locked and you need to clear it in the previous or root directory.
3. If you cannot clean in the root directory, the common method is to find another directory and re-checkout it. However, sometimes some locally modified files in the svn directory may not be submitted to the svn server. In this case, you need to pay attention to the backup of local files when re-checkout, do not forcibly overwrite the content modified by others on the server.
4. If you think the 3rd types are troublesome, consider this method. In fact, SVN locks will generate a file named lock in. SVN (hidden file) (without a suffix), find all the files, and delete them manually. Then try to update the file. The system may prompt that A. Base file cannot be accessed. Find it, delete the relevant file or its directory, and update it again. The workload is much smaller.
Solve the Problem of SVN working copy locked and cleanup cannot be recovered
This is mostly because the svn command failed last time and is locked.
If cleanup is ineffective, You have to manually delete the locked file.
CD to the svn project directory, and then execute the following command
Del lock/Q/s
The lock is deleted.
When SVN update is used, the following error occurs: e155004.