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

Re: Problem with renamed locked file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 20 Oct 2008 19:05:42 +0200

howszat wrote:
> Hi,
> I am having troubles renaming a folder because of one of the files it
> contains.
> This file has been renamed previously successfully with tsvn, but now
> when I try to rename the folder, tsvn says-
> "
> Error: Commit failed (details follow):
> Error: Cannot verify lock on path 'theFile.txt'; no matching lock-
> token available
> Error: If you want to break the lock, use the "Check For
> Modifications" dialog.
> "
> However the filename 'theFile.txt' was the previous name, not the
> current name of the file.
> This makes it impossible to break the lock as the file (with that
> name) doesnt exist anymore.
> Is there any way to fix this?

You can use the command line client for this:
$ svn unlock --force URL

Or use a nightly build from trunk of TSVN, open the repository browser,
change to a revision where the file was in it's original location,
right-click on that file, choose "break lock".


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-20 19:06:16 CEST

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.