[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: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-13 20:56:50 CEST

Greg Hudson wrote:
> On Wed, 2005-04-13 at 14:42, SteveKing wrote:
>
>>I don't know how much work this would cause to implement it, but from my
>>point of view it's just another entry in that struct, filled by the same
>>subfunction which does the filestat call - if that function isn't called
>>for some reason leave that entry empty or NULL.
>
> I think our main concern would be that, for big directories, adding a
> bunch of data to svn_wc_entry_t would result in using a lot more memory
> for the entries cache.

Good point. But the svn_client_status2() API returns that information in
a callback function, and AFAIK (haven't really tested that) it's only
valid inside that callback function (pool get's destroyed afterwards?).
Or are there other API's which cache that data?

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 20:58:04 2005

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