Can't rename folder due to 'locked' file

126 views
Skip to first unread message

John

unread,
Nov 29, 2012, 10:32:02 PM11/29/12
to us...@tortoisesvn.tigris.org
Hi,
I've tried to rename a folder (aaaa) in the repobrowser and in my WC but in both cases I get the message-

---------------------------
TortoiseSVN
---------------------------
Cannot verify lock on path '/xxxx/xxxx/xxxx/aaaa/bbbb.xlt'; no matching lock-token available
If you want to break the lock, use the 'Check For Modifications' dialog or the repository browser.
---------------------------
OK
---------------------------

The strange thing is bbbb.xlt no longer exists. It was renamed to something else and committed successfully before.
'Check for modifications' and the repobrowser won't do anything here as the file no longer exists under that name.
This is a trickey one as deleting the WC and checking out again doesn't fix it neither does 'cleanup'.
Any suggestions how to move forwards with this?
Thanks

TortoiseSVN 1.7.9, Build 23248 - 64 Bit , 2012/08/30 18:25:37

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3032179

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Ben Fritz

unread,
Nov 30, 2012, 1:54:55 PM11/30/12
to us...@tortoisesvn.tigris.org
On Thu, Nov 29, 2012 at 9:32 PM, John <gupd4...@snkmail.com> wrote:
>
> Hi,
> I've tried to rename a folder (aaaa) in the repobrowser and in my WC but in both cases I get the message-
>
> ---------------------------
> TortoiseSVN
> ---------------------------
> Cannot verify lock on path '/xxxx/xxxx/xxxx/aaaa/bbbb.xlt'; no matching lock-token available
> If you want to break the lock, use the 'Check For Modifications' dialog or the repository browser.
> ---------------------------
> OK
> ---------------------------
>
> The strange thing is bbbb.xlt no longer exists. It was renamed to something else and committed successfully before.
> 'Check for modifications' and the repobrowser won't do anything here as the file no longer exists under that name.as
> This is a trickey one deleting the WC and checking out again doesn't fix it neither does 'cleanup'.

It sounds like the lock exists in the repository but not in your working copy.

I do not know how you got into this situation, and I'm not sure if
this will work, but here's what I would try next:

Make a new working copy at an old revision where the file still
exists. Get a new lock on the file (steal your old lock). Release the
lock. Then do an svn update to get back to the latest version without
any locks.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3032411
Reply all
Reply to author
Forward
0 new messages