Makah
Makah

Reputation: 4523

Break Lock after Tortoise crashes

When i was commiting a folder when the Tortoise Crashed. I moved the code, did another checkout, pasted my modification file again and tried to commit.

I got the error below:

Error: Commit failed (details follow):
Error: Cannot verify lock on path Error: ; no matching lock-token available
Error: If you want to break the lock, use the 'Check For Modifications' dialog or the repository browser.

I tried to find the Release Lock button, but it dosen't appear. I tried to "Check for modifications", and right-click on the folder for "Break Lock" without success. I also tried to lock the file again and i got the error:

"Error: locked by user '' in filesystem '...\repository\db'"

Can i remove the lock deleting some file in svn folder?

EDIT: When i tried to do what Bert told me i Tortoise Crashed again Problem:

Event Name: BEX

Application Name: TortoiseProc.exe

Application Version: 1.7.1.22161

Fault Module Name: saslDIGESTMD5.dll

Fault Version Name: 2.1.24.0

Exception Code: c0000005

Debug error: saslDIGESTMD5.dll!7333c86a() Unknown

Upvotes: 1

Views: 2022

Answers (1)

Bert Huijben
Bert Huijben

Reputation: 19622

This errors is not about the working copy lock, but about an explicitly obtained lock using svn lock

Did you get an exact path in your error message?

In that case you can do a

svn lock --force PATH -m "Steal lock"

To steal the lock that was originally stored in the other working copy.

svn status -u

should also show you which files are locked in the repository.

Upvotes: 4

Related Questions