[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: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 23 Feb 2009 11:49:37 -0500

On Mon, Feb 23, 2009 at 11:44, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> 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.

Right, because I did exactly what was already done in that file.

>> 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.

Ah. So we're back to FS-specific metadata, which we've already
established Subversion doesn't track.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-23 17:49:48 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.