[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: KM <info4km_at_yahoo.com>
Date: 2007-10-12 22:03:59 CEST

I have one question. Why are so many files being deleted, or causing orphaned locks as you call them? You only need to get a lock when you are actually going to edit a file -
   
  Is there that much churn in your development etc?
   
  this doesn't really answer your question, but I was just wondering if there was a better approach for you, that wouldn't cause you to search for these locks all the time.
   
  As for checking - I just use the svnadmin lslocks - because there are only a few ever set at once
   
  sorry i couldn't help more
  KM
  PS - you could script the steps - to make it less manual - if that is an option.

"Miller, Eric" <Eric.Miller@amd.com> wrote:
  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

       
---------------------------------
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
Received on Fri Oct 12 22:04:21 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.