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

Re: rm multiple locks

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-10-13 05:05:42 CEST

Brian E. Fox wrote:
> Is there an easy way to remove multiple locks in a repo? I have about
> 100 bad locks to get rid of. The svnbook hints at piping the output of
> lslocls, but I haven't been able to figure it out.

I would simply make a command line loop.

  for f in $(svn status | awk '$1=="K"{print$NF}'); do svn unlock $f; done

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 13 05:06:06 2006

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.