[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:40:42 -0500

On Mon, Feb 23, 2009 at 11:14, Hannes Restel
<hannes.restel_at_isst.fraunhofer.de> wrote:
> Thanks for answering!
>
> Andy Levy schrieb:
>> On Mon, Feb 23, 2009 at 10:36, Hannes Restel
>> <hannes.restel_at_isst.fraunhofer.de> wrote:
>>
>>> Hello list,
>>>
>>> I'd like to propose a feature request that is 'nice to have' but it is
>>> very useful to me.
>>>
>>> For some folders in my Windows environment I have defined a
>>> 'desktop.ini' file for displaying an individual folder icon instead of
>>> the default Windows folder icon.. That file is saved directly into the
>>> folder along with an Icon file.
>>>
>>> When checking out this folder as a SVN repository, the indiviudalized
>>> folder icon is replaced by the standard Windows icon
>>> I think the reason for this behaviour are the tiny SVN status symbols at
>>> the botton of the folder icon.(e.g. the red "!" or the green checkmark).
>>>
>>
>> Icon overlays are just that - overlays. Note that for arbitrary files,
>> as long as they're in a WC, they get an overlay regardless of what
>> they are. It has nothing to do with the underlying icon itself.
>>
> I Thought so! This is why I wonder that my individualized icon
> disappears and the standard icon appears!
>>
>>> So using my individualized folder icons instead of the standard Windows
>>> icon by the Windows Interface for SVN would be great!
>>> Is that possible at all?
>>>
>>
>> Wouldn't putting desktop.ini and the corresponding icon file be
>> required to make this happen?
> This is exactly what I have done. But after the checkout my icon
> disappeard. So I thought that the SVN Windows Explorer integration might
> be responsible for thatchange. So somehow my icon and the tiny overlay
> icons seem not to be compatible... Very strange indeed....
>> And if so, why not do it yourself on
>> directories that you want this to happen on, instead of layering it
>> into the client by default? What happens if the path to the file
>> holding the icon is different on another user's computer than on yours
>> (like D:\program files vs. c:\program files)?
>>
> No, no: the icon I use is delivered in the folder itself as an .ico file.
>> This sounds more like file/environment metadata which, like local
>> filesystem ACLs, is not handled by Subversion at all - intentionally.
>>
>> ------------------------------------------------------
>> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1215231
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>>
> So as I understand it, SVN Windows Explorer Integration already has got
> the feature I want.
> The fact that my icon - as defined in the 'desktop.ini' - is ignored
> (i.e. replaced by the standard icon), is not a result of SVN..

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!

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.

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

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