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

Re: SVN: Lock on deleted files?

From: Lutz Dornbusch <subversion_at_pdfzone.de>
Date: Mon, 16 Jun 2008 21:32:13 +0200

Jesper Taxbøl- Zero Point Software wrote:
> Hi,
>
> I have been having a problem deleting a directory, that once contained a
> file. The file was somehow deleted while it was locked.
>
> So now I cant delete the directory because the file is still locked. Any
> ideas on how to handle such a problem?
>
>
> --
> Med venlig hilsen / Best Regards,
> Jesper Molbech Taxbøl, Game Programmer / System Administrator
[..]
Hi,
You have two options:
1st: you can "steal" the lock by locking the file in a different
workingcopy use "svn lock --force <PathToFile>"
Depending on your svnconfiguration (hooks) it may be not allowed.

2nd: If you have access to the svnserver use the "rmlocks" command:
"svnadmin rmlocks <Path_2_Repos> <Path_2_File>

Hope that helps,
Greetings,
Lutz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-16 21:34:00 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.