SVN Update Error Please execute the ‘Cleanup’ command solution


Problem – SVN Update Error: Please execute the ‘Cleanup’ command

A detailed description

When updating a file with SVN, you will encounter a failure (perhaps due to a forced interrupt during the last pull, etc.), prompt to cleanup, but when you cleanup, you will prompt that the folder is locked, and then you will release the lock, but it still fails, promptPlease execute the 'Cleanup' command.(damn hard to use)


The solution

Obviously this cannot be done because the SVN file is locked and needs to be released, but manual release does not work, so

  1. You need to go to the SVN root where the locked folder is, and then make the hidden file visible
  2. Find. SVN folder, database management tools such as navicat,datagrip ide linkswc.db, this is a sqlite database, find the WC_LOCK table
    SVN Update Error Please execute the 'Cleanup' command solution
  3. Go in and delete the locked record and commit the update to the database.
  4. It’s ok to update the code or file