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

Re: Feature request: SVN managed folders should be able to use the folder icon from desktop.ini file

From: Hannes Restel <hannes.restel_at_isst.fraunhofer.de>
Date: Mon, 23 Feb 2009 18:14:18 +0100

Stefan Küng schrieb:
> Andy Levy wrote:
>
>
>> I just tested this myself. I took a folder (including desktop.ini)
>> with a customized icon (icon pointed to an application on my hard
>> drive) & copied it to an already-versioned directory. It had the ?
>> overlay, with the custom icon.
>>
>> I added it, and it had the + overlay and still the custom icon.
>>
>> Committed, and got the green check with the custom icon.
>>
>> I then checked out the directory to another location, and it had the
>> standard icon. desktop.ini was still there. I went to Customize
>> Folder, changed the icon to what it "should" be, and it took. Now, the
>> real trick - Check for Modifications shows no changes!
>>
>
> That's because the ini file wasn't changed.
>
>
>> I'm assuming that Customize Folder does some Registry Voodoo in
>> addition to desktop.ini, and that's what's missing. IMHO, TSVN
>> shouldn't seek out these customizations & make that change on its own.
>>
>
> Nope, the registry is not used. But to get custom icons for folders,
> those folders must have the SYSTEM attribute set. A simple SVN checkout
> does not set that attribute.
>
> You can try this yourself: do the checkout again and see that the folder
> icon is not shown. Then open a DOS console, then type
> $ ATTRIB +S folder
> and the icon will appear.
>
> Stefan
>
>
Ooops! My fault! I completely forgot about the attrib... Thanks, Stefan!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1215657

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-23 18:39:32 CET

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.