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

RE: Re: Finding Locks

From: Thompson, Graeme (AELE) <Graeme.Thompson_at_smiths-aerospace.com>
Date: 2007-09-17 16:20:22 CEST

> -----Original Message-----
> From: Andy Levy [mailto:andy.levy@gmail.com]
> Sent: 17 September 2007 14:52
> To: Bicking, David (HHoldings, IT)
> Cc: Larry Martell; listman; Erik Huelsmann; Miller, Eric;
> users@subversion.tigris.org
> Subject: Re: Finding Locks
>
<snip>
> > > > what command should we be using to get the list of
> locks from the
> > > > server?
> > >
> > > svnadmin lslocks
> > >
<snip>

If you want to get the list of locks from the client you can use (from
within your working copy):

svn status -u -v | grep "^.....[^ ]"

You can alter this command to find the list of locks for a user by
adding the username to the grep command:

svn status -u -v | grep "^.....[^ ].*uname"

(I know that this is not perfect but we do not get many false positivs
where the username is in the filename...)

Hope this helps,

Graeme

 
************************************************
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 Sep 17 16:17:25 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.