[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: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-10-15 20:34:51 CEST

Miller, Eric wrote:
> 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.

If you're talking about running
http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/remove-zombie-locks.py
(which I wrote) then your problem should be completely solved by running
the script once (50k locks should only take a few minutes on a
reasonable machine), and then install as a hook script so the problem is
always fixed immediately and you never need to think about the issue
again.

Note there doesn't seem to be much impetus for fixing the actual code
issue, since with this hook script there's no longer any problem:
http://svn.haxx.se/dev/archive-2007-01/0282.shtml

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 15 20:33:34 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.