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

How to find out if I own a lock?

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-13 18:57:01 CEST

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).
I know I could just do an svn_client_status2() and then check if the
file is readonly, but that's another filestat call which
svn_client_status2() already does too.
Maybe there's something in the lock UID which can be used for that?

If not, then may I suggest to add another entry to the svn_wc_entry_t
structure which indicates if a file is readonly?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
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:06:23 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.