TortoiseHg without context menu commands

The TortoiseHG context menu entries completely messed up the look of the Windows 7 Explorer context menu , and I can do a great job with the hg command line tools. However, the Overlay turtles icons are a must for me.

How to disable TortoiseHg context menu commands, but still have Overlay Tortoise icons in hg repository folders?

+4
source share
4 answers

I had the same problem, but it seems to be fixed in the latest TortoiseHg - if you still have the problem, try updating.

+4
source

To disable or add items to the context menu:

  • Right click to open context menu
  • Select TortoiseHg ----> Explorer Extension Settings
  • Delete: hide the context menu except repositories
  • Or use these options to add or remove context menu items.
+5
source

You need to remove the following Windows registry keys using the "regedit.exe" tool. Before you delete them, back up the registry. And please note that I can not guarantee if you have any problems.

HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers\TortoiseHgCMenu HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\TortoiseHgCMenu 
+1
source

Try the following command:

 regsvr32 /u "C:\\Program Files\\TortoiseHg\\tortoisehg.dll" 

To enable the shell extension again:

 regsvr32 "C:\\Program Files\\TortoiseHg\\tortoisehg.dll" 
0
source

All Articles