2009/4/8 <richard.steph...@converteam.com>

>
>
> TK Soh <teekay...@gmail.com> wrote on 07/04/2009 00:49:17:
>
> > On Mon, Apr 6, 2009 at 9:02 AM,  <richard.steph...@converteam.com>
> wrote:
> > >
> > > Hello,
> > >
> > > I'm using Windows XP SP2 with TortoiseHg 0.7.3.  Some of the TortoiseHg
> > > icons never appear, for example, if I add a new file to a repository,
> the
> > > file does not have the added icon, it just has the plain icon of an
> > > non-mercurial file. It does, however, show up on the list of added
> files
> > > during a commit - so it's been added it's just the icon that's missing.
> > > The missing icons seem to be: added, removed and unknown.
> > > Whereas the following icons do appear: unchanged, changed and conflict.
> >
> > This is strange. TortoiseHg only supports unchanged (clean), changed
> > (modified) and added icons. I am not sure how you can get the
> > 'conflict' icon.
> >
> > Also, it's not possible to display the 'removed' icon.
> >
> > > Any ideas?
> >
> > Try check this key in regedit to see how many enteries are listed below
> it:
> >
> >
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
>
> >
> > You should see nice Tortoise entries, plus perhaps a few others.
>
> You're right, my list of icon names was screwy. I've only ever seen the
> Normal and Modified icons on my machine. I have never seen the Added,
> Ignored or Unversioned icons even though I have files which should show
> them. As for the others, I do not have any files that match these states
> and cannot remember seeing them.
>
> The registry key you mention contains nine Tortoise entries as follows:
> 1TortoiseNormal
> 2TortoiseModified
> 3TortoiseConflict
> 4TortoiseLocked
> 5TortoiseReadOnly
> 6TortoiseDeleted
> 7TortoiseAdded
> 8TortoiseIgnored
> 9TortoiseUnversioned
>
> There are other entries under the same key, as follows:
> Added
> AutoCAD Digital Signatures Icon Overlay Handler
> Changed
> Offline Files
> Unchanged


The Added, Changed, Unchanged seems to be garbage from an THG < 0.5 which
was not uninstalled before a newer version was installed.

To clean this up you can delete these tree keys and restart explorer, but
you may also have to find and delete the COM registrations, i.e.

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\xxx
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\xxx

where xxx is
00FEE959-5773-424B-88AC-A01BFC8E4555 for UnchangedOverlay
102C6A24-5F38-4186-B64A-237011809FAB for ChangedOverlay
8447DB75-5875-4BA8-9F38-A727DAA484A0 for AddedOverlay

You can verify that you delete the proper entries, by examining the default
value of subkey ProgID. For UnchangedOverlay, it should be
"Mercurial.ShellExtension.UnchangedOverlay"

To see the results of you efforts, you need to restart explorer - no reboot
is necessary.

Regards,
Peer
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to