You must be logged in to do that
Last updated January 09, 2011 09:49, by Thanh Nghia Lam
Feedicon  

Using Mercurial, Putty on Windows


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(external link)

Load ssh key generator puttygen.exe http://tartarus.org/~simon/putty-snapshots/x86/puttygen.exe(external link)

Put them in a directory, for example

c:\putty


    * generate your ssh key: 

Use puttygen.exe to generate a keypair public/private. 1. In Parameters menu: select SSH-2 RSA 2. Click on Generate 3. 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(external link)

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/(external link) (cache)|or TotalCommander http://www.ghisler.com/(external link) (cache)

2. Create a 32 bits explorer shortcut by using the shortcut (Source: http://www.mail-archive.com/tortoisehg-develop@lists.sourceforge.net/msg01055.html)(external link)

%Systemroot%\SysWOW64\explorer.exe /separate

3. Use integrated explorer of the development tools like Notepad++ http://notepad-plus.sourceforge.net/fr/site.htm(external link) (cache)|or Komodo Edit http://www.activestate.com/komodo_edit/(external link) (cache)

    * configure TortoiseHg for Domogik: 

In the context menu of TortoiseHg, click on Create Clone and enter the source

http://hg.domogik.dunnewind.net/domogik/

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close