SettingUpTortoiseHG

TortoiseHgis the Microsoft Windows version of Mercurial but available also on OSX and linux.

Step 1. Installing TortoiseHG (on windows)

  1. Download the all-in-one installer (MSI version) from the Bitbucket repository .
    If you downloaded the file to a folder on your local machine, you can also click the downloaded file's icon to run the installer. When you've successfully started the installer, you should see the TortoiseHg Setup wizard screen:

    The version shown on your screen may be different than the one shown here of course. That is ok as long as you are installing a TortoiseHg that supports Mercurial version 1.7 or later.
  2. Press Next to move to the next page of the wizard.
    The setup displays the license agreement.
  3. Press Next to accept the license agreement and continue.
    For this setup, use all the default setup values recommended by installer.
  4. To accept all the defaults, press Next on each page of the dialog that comes after the license agreement until the wizards prompts you to install.
  5. Press Install to install the software.
  6. Press Finish on the final page of the dialog to complete the installation.
    You may need to restart your system for the installation to take effect.

Do the following to configure your global default username and email:

  1. Right-click in your Desktop to open the context menu.
    The system displays the right hand context menu:
  2. Click the Hg Workbench item.
    The system opens the TortoiseHg Workbench application.
  3. Choose File > Settings to open the TortoiseHg Settings dialog.
  4. Locate the Commit section on the left hand side and click it.
  5. Fill in the Username value using the following format:
    firstname lastname<email>

    When done the dialog looks similar to this:

  6. Press OK to save your changes.

Step 2. Install PuTTYgen and configure PuTTY

PuTTYgen is a free RSA and DSA key generation tool. You'll learn more about RSA, DSA, and key generation later in this tutorial. If you don't have PuTTYgen installed, do the following:

  1. Download the proper version for your system.
    The PuTTYgen utility is a single executable file.
  2. Move the puttygen.exe executable to the C:\Program Files\TortoiseHg folder.
  3. Start Putty.
    The PuTTy Configuration dialog displays. Use this dialog to configure your PuTTy sessions.
  4. Under the Session node, select Default Settings and press Load.
    This allows you to edit the Default Settings session configuration.
  5. Under the Connection node, click SSH.
    The Options controlling SSH connections display.
  6. Check Enable compression.
    This option can improve performance of a low-band connection.
  7. Click the Session node, select Default Settings and press Save.
  8. Click the Close button (red x).

Continue with setting up ssh access to the DevZone

These instructions are adopted from Atlassian's guide and released under the Creative Commons Attribution

thg_install.png (47.7 KB) planetmaker, 2014-02-09 21:32

thg_install2.png (46 KB) planetmaker, 2014-02-09 21:32

thg_menu.png (46 KB) planetmaker, 2014-02-09 21:32

save_putty.png (43.3 KB) planetmaker, 2014-02-09 21:32

thg_settings.png (100 KB) planetmaker, 2014-02-09 21:32