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

Re: Read-only files marked as svn:needs-lock?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-27 23:20:51 CEST

On 27/07/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Simon Large wrote:
> > Hi folks,
> >
> > In our docs for 1.5 we say that read-only files are marked with the
> > grey overlay. Does svn 1.5 give us a better way of detecting
> > svn:needs-lock which means we no longer do this? I just tried making a
> > file read-only and the overlay stays the same.
>
> That depends :)
> No seriously: SVN 1.3.x has an older working copy format, which does not
> store the svn:needs-lock property in its entries file. And in those
> working copies, svn_client_status() doesn't return the information
> whether the svn:needs-lock property is set or not. That's why we show
> the overlay for readonly files too.

So if the working copy returns the information for svn:needs-lock we
use that and ignore the read-only status. If it doesn't return that
info we use the read-only status instead. Correct?

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jul 27 23:19:35 2007

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

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