[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can't rename folder due to 'locked' file

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Fri, 30 Nov 2012 12:54:55 -0600

On Thu, Nov 29, 2012 at 9:32 PM, John <gupd4cdbcb_at_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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-11-30 19:55:24 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.