TortoiseSVN - Database locked

0

I use TortoiseSVN with Windows, when I try to give an update to my working copy, the following message is displayed:

  

Update Working copy 'locked directory. '[Directory of my working copy]' is already   locked Please run the 'Cleanup' command.

I can not run a cleanup on the working copy, when trying to perform cleanup the following message is displayed

  

Cleanup failed to process the following pats: [Directory of my working copy] locked.   Please run Cleanup Command

    
asked by anonymous 22.07.2016 / 15:40

1 answer

1

The problem occurs when a particular task is terminated in the middle of the process, which causes a problem in the tortoiseSVN database itself.

To resolve the issue, use some SQLite database manager to open the database wc.db that is in the "\.svn\" directory that is at the root of your working copy (hidden directory).

Search for the WC_LOCK table and delete all records in this table. Or run the following command:

DELETE FROM WC_LOCK

After the data is removed, run a Cleanup and Update in the workbook.

    
22.07.2016 / 15:40