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

Re: How to find out if I own a lock?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-13 19:11:01 CEST

On Apr 13, 2005, at 11:57 AM, SteveKing wrote:

> Hi,
> I was wondering if there's an easy way to find out if a lock on a file
> is owned by the one owning the working copy (i.e. if the file isn't
> readonly but has a lock owner assigned to it).

svn_client_info() returns an svn_lock_t inside the svn_info_t
structure. If a lock-token is attached to the working-copy file, then
information about the lock is in that svn_lock_t structure. Does that

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 13 19:14:58 2005

This is an archived mail posted to the Subversion Dev mailing list.