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

RE: Finding orphaned locks?

From: Thompson, Graeme (AELE) <Graeme.Thompson_at_smiths-aerospace.com>
Date: 2007-10-15 11:17:29 CEST

See http://subversion.tigris.org/issues/show_bug.cgi?id=2507

It appears that you can remove the lock using the command line:

Svn unlock --force <URL to file locked>

There is also a python script that removes all orphaned locks in the
repository which would be easier for lots of files that are in this
state.

> -----Original Message-----
> From: Miller, Eric [mailto:Eric.Miller@amd.com]
> Sent: 12 October 2007 16:15
> To: users@subversion.tigris.org
> Subject: Finding orphaned locks?
>
> I am running into scenarios where locks remain on deleted files.
>
> Does anyone know of a good way to find orphaned locks?
>
> Right now I have to do a: svnadmin lslocks and then svn ls
> *every* lock
> to see if it exists in the HEAD revision.
>
> This is *way* too slow - we have over 40,000 locks in just one of our
> repositories.
>
> Is there a faster way?
>
> Eric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ______________________________________________________________________
> CAUTION: This message was sent via the Public Internet and
> its authenticity cannot be guaranteed.
>
> ______________________________________________________
>

 
************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 15 11:19:15 2007

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.