RE: cannot break lock due to no matching lock-token
From: Tom Jones <Tom.Jones_at_woodward.com>
Date: Wed, 14 Apr 2010 09:38:25 -0500
Thanks,again.
So, I am running subversion on a Windows2003 server. The URL for the repository is svn://servername/reponame. The file in question is reportedly in a project folder in a trunk (URL svn://servername/reponame/project/trunk/filefolder/filename.xyz) HOWEVER, the file no longer exists because it was deleted at some point, but the repository still thinks there is a lock on this non-existent filename.xyz. The file DOES exist in an earlier tag, but there is no link between that file and the current trunk.
I tried issuing commands using the standard DOS command prompt window. I can get info on the project folders (e.g. svn info svn://servername/reponame/project/trunk/filefolder/) but I cannot do anything with the filename that is associated with this error: "cannot verify lock on path... ; no matching lock- token available. If you wish to break the lock, use the 'Check for Modification' dialog" Checking for modifications does not help because the working folder associated with this lock no longer exists either.
-----Original Message-----
Hi,
> could I use a local command line client (while
Yes.
The command line client can be downloaded from here:
Kind regards,
Jon
-- Please direct all replies to the mailing list. -----Original Message----- From: Tom Jones [mailto:Tom.Jones_at_woodward.com] Sent: 14 April 2010 13:47 To: users_at_subversion.apache.org Subject: RE: cannot break lock due to no matching lock-token Thanks for replying. I am using TortoiseSVN, which directs me to this mailing list for discussion. Pardon my amateurishness, could I use a local command line client (while keeping Tortoise resident) to execute this? -----Original Message----- From: Jon Foster [mailto:Jon.Foster_at_cabot.co.uk] Sent: Wednesday, April 14, 2010 7:23 AM To: Tom Jones; users_at_subversion.apache.org Subject: RE: cannot break lock due to no matching lock-token Hi, You don't say what client you're using, but it doesn't seem to be the Subversion command-line client. Try asking on the relevant mailing list for your client. If you were using the command-line client, you'd use "svn unlock --force". See these pages for details: http://svnbook.red-bean.com/en/1.5/svn.advanced.locking.html http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.unlock.html Kind regards, Jon -- Please direct all replies to the mailing list. ________________________________ From: Tom Jones [mailto:Tom.Jones_at_woodward.com] Sent: 14 April 2010 13:14 To: users_at_subversion.apache.org Subject: RE: cannot break lock due to no matching lock-token Does anyone know how I can clean up a missing lock-token? From: Tom Jones [mailto:Tom.Jones_at_woodward.com] Sent: Tuesday, April 13, 2010 7:01 AM To: 'users_at_subversion.apache.org' Subject: cannot break lock due to no matching lock-token A file was created and locked. The file was unlocked and the project tagged. the tagged folder was merged with an empty trunk and then the trunk checked out. A file in the project was locked, but later removed without being unlocked. Now the file does not exist in the trunk, but any changes to the trunk cannot commit because "cannot verify lock on path... ; no matching lock- token available. If you wish to break the lock, use the 'Check for Modification' dialog" appears and prevents any actions on the trunk (ie, delete all files). I have tried checking for modifications but none are listed (the file was deleted). I cannot merge, delete, copy or anything. The lock that was there is not needed. How do I remove this lock-token or whatever I need to do? Tom Jones Woodward Governor Co. Turbine Systems (Test Engineering) ********************************************************************** This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Cabot Communications Limited Verona House, Filwood Road, Bristol BS16 3RY, UK +44 (0) 1179584232 Co. Registered in England number 02817269 Please contact the sender if you believe you have received this email in error. ********************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. *** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ********************************************************************** This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Cabot Communications Limited Verona House, Filwood Road, Bristol BS16 3RY, UK +44 (0) 1179584232 Co. Registered in England number 02817269 Please contact the sender if you believe you have received this email in error. ********************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***Received on 2010-04-14 16:39:48 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.