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

Re: Bug - does not show "Locked" icon when file is locked.

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Sat, 20 Sep 2008 16:27:56 +0100

2008/9/19 Stefan Küng <tortoisesvn_at_gmail.com>:
> In your case, it's a little bit different: you have the svn:needs-lock
> set. When you get a lock, Subversion first removes the 'readonly'
> attribute from the file, then changes the entries file inside the .svn
> folder to mark the file as being locked. Only after that happens, TSVN
> can send the refresh notification to the explorer.
> Since the explorer also constantly monitors the current folder for
> modifications (you can check that: if you run a batch file which creates
> new files, explorer will show them without you having to press F5), it
> detects that the readonly attribute was removed and refreshes the view.
> If it does that before TSVN sends the notification, then the
> notification from TSVN will be ignored because it will be sent within
> the refresh-timeout (see my explanation above).

Does this warrant a request to change the subversion code to update
the entries file first and then change the read-only status?

Simon

-- 
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-09-20 17:28:14 CEST

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