TortoiseHg is a Windows shell extension of Mercurial and the installation includes Mercurial. To use it with Domogik project, you need also to configure a ssh connection.
Configure ssh connection
- Download tools:
Get ssh key manager pageant.exe
http://tartarus.org/~simon/putty-snapshots/x86/pageant.exe
Load ssh key generator puttygen.exe
http://tartarus.org/~simon/putty-snapshots/x86/puttygen.exe
Put them in a directory, for example
c:\putty
- generate your ssh key:
Use puttygen.exe to generate a keypair public/private.
- In Parameters menu: select SSH-2 RSA
- Click on Generate
- Save the public and private keys (named private_key.ppk) in the directory
c:\putty\key
- Set your key usable by TortoiseHg:
Use pageant.exe. To load automatically the key at each starting of the tool, create a shortcut and write in the parameters
c:\putty\pageant.exe c:\putty\key\private_key.ppk
You can start it automatically by putting this shortcut in the start-up folder of Windows.
Use TortoiseHg
- Download and install the tool:
Get back the last issue of the tool on SourceForge.net http://sourceforge.net/project/showfiles.php?group_id=199155
Install the file, for example TortoiseHg-0.7.2-hg-1.2.1.exe
After a restart, with windows XP and vista, a new menu appears in the context menu (right click) on a folder. It's good, you can use TortoiseHg.
- Special case: Windows Vista 64
The context menu doesn't appear. There is an incompatibility of the actual version of tortoiseHg.
To bypass this problem, several ways :
1. Use a 32 bits explorer, FreeCommander http://www.freecommander.com/ or TotalCommander http://www.ghisler.com/
2. Create a 32 bits explorer shortcut by using the shortcut
(Source: http://www.mail-archive.com/tortoisehg-develop@lists.sourceforge.net/msg01055.html)
%Systemroot%\SysWOW64\explorer.exe /separate
3. Use integrated explorer of the development tools like Notepad++ http://notepad-plus.sourceforge.net/fr/site.htm or Komodo Edit http://www.activestate.com/komodo_edit/
- configure TortoiseHg for Domogik:
In the context menu of TortoiseHg, click on Create Clone and enter the source
http://hg.domogik.dunnewind.net/domogik/
