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

Re: .cs files get randomly locked

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-12-19 10:50:15 CET

On 19/12/2007, Tsahi Asher <tsahi_75@yahoo.com> wrote:
> the only other tool i'm using is visual studio. i've seen this happen
> on a clean checkout too, and the icon doesn't change if i make the file
> writeable manually (through the file properties dialog).

If you run Tsvn->Cleanup the icon will change to Normal. For some
reason TSVNcache.exe doesn't catch changes to readonlyness.

> i think, but i'm not sure, that it also happens with files that were
> updated in the last Update.
>
> On Dec 18, 2007 6:12 AM, Tsahi Asher <tsahi_75@yahoo.com> wrote:
> > hi,
> > i have TSVN 1.4.5, with a remote SVN server, also version 1.4.5. my
> > client machine is WinXP SP2.
> > the problem is that .cs (C#) files get randomly marked implicitly as
> > needs-lock. i use the term "implicitly" because they don't really get
> > the
> > svn:needs-lock property, but they do get the gray V mark and their
> > read-only bit is turned on. this makes it difficult to use TSVN.
>
> I would look at other tools you're using, because *something* must be
> setting the read-only bit. (T)SVN will only set a file read-only if
> svn:needs-lock is set AFAIK. It sounds like TSVN uses the read-only
> status of the file to indicate the file isn't available for editing
> (which would make sense), so it's really a victim here, not the
> culprit.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Dec 19 10:50:36 2007

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

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