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

Re: Bugg with solution...

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 23 Sep 2008 07:00:34 -0400

2008/9/23 Wolf Peuker <peu_at_rekoba.de>:
> Stefan Küng schrieb:
>> Max Kielland wrote:
>>> Hello,
>>> After doing any action that changes a files status, such as "SVN
>>> Commit..." or update, the icons in the file browser is not updated
>>> automatically. This has to be done manually by hitting F5.
>>> Change one of your files checked out from SVN so it turns red (changed).
>>> Commit the file and it should be green (up to date). This is not the
>>> case, you have to manually refresh (F5) the file browser to see the
>>> change.
>>> You need to send a Shell Notification message to tell windows that it
>>> has to refresh it's icons (imediately).
>>> This is when you know what directory to update.
>>> #include <shlobj.h>
>>> SHChangeNotify(SHCNE_UPDATEDIR,SHCNF_PATH,"D:\\Update\\my\\path",NULL);
>>> If you just want to update all icons (regardless of directory), you can
>>> "fool" windows by sending this message.
>>> #include <shlobj.h>
>>> You can read more about SHChangeNotify at
>>> http://msdn.microsoft.com/en-us/library/bb762118(VS.85).aspx
>>> I hope someone will add this simple line so we don't have to manually
>>> refresh the browser window ;)
>> If I would add "this simple line", it would basically block the explorer.
>> Seriously: do you really, honestly think that we don't know how to use
>> SHChangeNotify() ?????
> save your question marks and your good mood :)
>> Job for you:
>> * search this mailing list
>> * search the dev mailint list
>> * search the FAQ
>> * have a *quick* look at the source of TSVN and the comments around
>> SHChangeNotify() calls.
> a link to your online-browsable sources would be faster and less loading for
> your svn server

If one can find the mailing list, one can find that. Right on the
homeoage. http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk

> BTW: if new people come here, they have almost read a lot about contacting
> you, but
> you know, all of them have to work, too. Max wasn't arrogant with his
> suggestion...

http://www.catb.org/esr/faqs/smart-questions.html - see #7 under
"Before you sl" especially (the OP qualifies as a "developer" with
this request).

Stefan (and others) offers this software for free (I'm not even sure
TSVN development is his paying day job) and has to deal with a dozen
people a day claiming "bug" when they just haven't RTFM'd or done the
most basic of searches to answer their quetsion.

Asking people to put in a little effort before they criticize his code
(without looking at it themselves, mind you) is not unreasonable.

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-23 13:00:50 CEST

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