[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 21:44:23 CEST

Ben Collins-Sussman wrote:
>> I know those logics aren't equivalent. But Subversion would have
>> problems with versioned readonly files if they don't have the
>> svn:needs-lock property on them, right? I mean, versions < 1.2 at
>> least will error out if such a readonly file has to be changed by an
>> update. So I don't think that there are any users out there who have
>> files set readonly themselves for whatever reason.
> Ooh, good point. You've convinced me. I guess the new overlay needs to
> be documented carefully: it doesn't mean that svn:needs-lock is
> present, it means that the file is read-only. And if the file is
> read-only, that *probably* means that it should be locked before editing.

Sure! We haven't really started on the docs for 1.2 yet, but as soon as
we implemented most of those features in TSVN we will start with the
docs - it doesn't make much sense to write the docs before we know how
TSVN will handle these things exactly.

But what about having the filestat information in the svn_wc_entry_t
struct returned by svn_client_status()? That would help TSVN a lot
(performance wise) - I guess you know that Windows isn't as fast with
those calls as Linux, there were some reports before about timing of
'svn st' and 'svn ci' for Linux and Windows on this list...


   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 21:45:30 2005

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