TortoiseHg provides visual representation of the file status via overlay icons in the MS-Explorer windows. This is similar to those that found on other Tortoise client, such as TortoiseCVS and TortoiseSVN.
TortoiseHg shares the overlay icons with TortoiseSVN (version 1.5.x or later) and the other “Tortoise” projects via the use of TortoiseOverlays (another project created by TortoiseSVN team).
Overlay icons in Icons view (XP)
The context menu has an Update Icons option which forces TortoiseHg to refresh the icons in the currently browsed repository or directory of repositories. The taskbar icon will turn green and the directory icons will turn into question marks while this refresh is in progress.
The overlay handler and context menus are configurable. From any folder background (even the desktop), right click and select TortoiseHg ‣ Explorer Extension Settings. This opens the TortoiseHg Shell Configuration dialog.
On the tab “Context Menu” you can promote individual menu options to the top level menu.
Shell Configuration Dialog, Context Menu tab
On the “Icons” tab you configure settings related to the overlay icons and the icon of the “Overlay Icons Server” in the taskbar (in the notification area of Windows).
Shell Configuration Dialog, Icons tab
Warning
The “Enabled Overlay Handlers” settings affect all Tortoises for a user. A logoff/login is required to make changes in that section effective.
One can selectively disable overlay icons in a specific repository by editing the .hg\thgstatus file inside the repository and replacing it’s contents with a single line containing:
@@noicons
TortoiseHg also provides shell integration with the GNOME desktop via a nautilus-python plugin. If you have installed TortoiseHg from a distribution package, the odds are that this extension is already configured. If not, please consult our Wiki for instructions on how to enable this feature.
While the nautilus extension does not have it’s own GUI for managing the overlays and context menus, it does support command promotion into the top menu. It requires you to edit your ~/.hgrc file and add lines like these:
[tortoisehg]
promoteditems = commit, log, synch
GNOME/Nautilus screenshot