Yeah, I have a script to do it, but it is just very time consuming to
iterate through 40-50k locks to find those that are orphaned.
Oh well, I'll just keep the script running frequently until I can find
what is committing deletions without unlocking.
Eric
> -----Original Message-----
> From: Thompson, Graeme (AELE) [mailto:Graeme.Thompson@smiths-
> aerospace.com]
> Sent: Monday, October 15, 2007 3:17 AM
> To: Miller, Eric
> Cc: users@subversion.tigris.org
> Subject: RE: Finding orphaned locks?
>
>
> 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 17:06:18 2007