Tortoisesvn - Database locked

Asked

Viewed 171 times

0

I use Tortoisesvn with Windows, when I try to Update my working copy the following message is displayed:

Update Working copy '[Working copy directory]' locked. '[Working copy directory]' is already locked. Please execute the 'Cleanup' command.

I cannot run a Cleanup on the working copy, when trying to perform the Cleanup the following message is displayed

Cleanup failed to process the following Pats: [My working copy directory] locked. Please run Cleanup Command

1 answer

1


The problem occurs when a given task is completed in the middle of the process which generates a problem in the database of the tortoiseSVN itself.

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

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

DELETE FROM WC_LOCK

After removing the data, run Cleanup and Update in the workbook.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.