You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Cammidge <ma...@peralex.com> on 2006/03/25 14:12:16 UTC

Problem unlocking locked files

I'm having trouble unlocking a few files in a repository - other files in the same
repository don't seem to have the same trouble:

- The files have the svn:needs-lock property set
- I successfully get the lock on a file.
- When I try to unlock the file, I get an error:

"Can't remove file /repos/db/locks/b74/b7428fe33efa7b277481bd2205a413": No such
file or directory"

- When I try to release the lock again, it tells me the file isn't locked.
- When I run update, the client fixes the status of the working copy to reflect
the fact that the file isn't locked.

This happens consistently on a few files.  I'm using svnserve version 1.3.0 (on
FreeBSD 6.0) and various clients (TortoiseSVN, windows command line, FreeBSD
command line).

The lock seems to be created correctly - others trying to lock the file while it
is locked by me are told that the file is locked.  I've searched the repository
and found that the file that it can't delete is never created - a lock seems to be
created with another file name in another directory.

While it can be worked around, the persistent error messages confuse the users.
Any suggestion on how I could solve this issue, before I mess with the code?


Thanks
Mark











NOTICE: Please note that this email, and the contents thereof, 
are subject to the standard Peralex email disclaimer, which may 
be found at: http://www.peralex.com/disclaimer.html

If you cannot access the disclaimer through the URL attached 
 and you wish to receive a copy thereof please send 
 an email to email@peralex.com