[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: Steven Bakke <steven.bakke_at_amd.com>
Date: Mon, 16 Jun 2008 17:43:01 -0400

If you search the mailing list archive for 'zombie locks', I think
you'll come across a python script that will remove locks from the
repository for files that have been deleted. It's a long-standing bug
with committing deletions that the lock doesn't get cleared when the
deletion is committed.

-Steve

On Jun 16, 2008, at 3:32 PM, Lutz Dornbusch wrote:

> 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
>
>

---------------------------------------------------------------------
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 23:43: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.