I've tried TortoiseHG from the repositories, but it wasn't working at all.

  • 1
    You might want to be more descriptive about the problem you had with TortoiseHG. Oct 29, 2010 at 21:07
  • Didn't react to any of the "menu" commands I selected.
    – Queops
    Oct 29, 2010 at 21:13
  • 2
    They work for me on 10.10. Make sure that you also have tortoisehg-nautilus installed. Also nautilus has to be restarted. Oct 29, 2010 at 21:18
  • Exactly as you told. Nothing happens when I click options or Clone... for example.. very weird. EDIT: Does work if you input the commands on console, not through menu.
    – Queops
    Oct 29, 2010 at 21:41
  • @Queops Have you filed a bug about this problem?
    – ændrük
    Dec 6, 2010 at 20:07

4 Answers 4


hg view is installed as part of the mercurial package, but not enabled by default to keep the package from depending on the tk toolkit. Install tk8.5, and the add the following to your "$HOME/.hgrc" file:


Launch by running hg view in the repository folder. alt text

  • 1
    I needed to put the path to hgk.py into $HOME/.hgrc, ie. hgk=/usr/lib/python2.7/dist-packages/hgext/hgk.py. Jun 10, 2016 at 13:40

Add the following PPAs to your Software Sources, instructions are at the link endpoints:

https://launchpad.net/~tortoisehg-ppa/+archive/releases Launchpad logo

https://launchpad.net/~mercurial-ppa/+archive/releases Launchpad logo

Or do it via the command line.

ppa:tortoisehg-ppa/releases Launchpad logo (Click here for instructions on using PPAs.)

ppa:mercurial-ppa/releases Launchpad logo (Click here for instructions on using PPAs.)

$ sudo apt-add-repository ppa:tortoisehg-ppa/releases
$ sudo apt-add-repository ppa:mercurial-ppa/releases

Install tortoisehg, and tortoisehg-nautilus if you want nautilus integration.

$ sudo apt-get install tortoisehg tortoisehg-nautilus

Use hgtk as though it were the usual hg command to get a GUI interface for each command (e.g. hgtk status), or use the interface provided in nautilus if you installed the requisite package.

  • Nice handy PPAs
    – Queops
    Nov 6, 2010 at 23:23
  • When I try to install tortoisehg I got the following message : The following packages have unmet dependencies: tortoisehg : Depends: mercurial (< 2.5~) but 2.5-0ppa1~precise1 is to be installed Recommends: python-iniparse but it is not going to be installed E: Unable to correct problems, you have held broken packages.
    – magister
    Feb 7, 2013 at 16:45
  • 1
    Doing this works fine: sudo apt-get install tortoisehg tortoisehg-nautilus No need for PPAs anymore (Ubuntu 15)
    – Jonathan
    Jun 25, 2015 at 19:10

meld does a pretty decent job. Just install it like this:

sudo apt-get install meld

And run it with:


Then select "Version control view" and point it at the directory with your repository. It will show you all the changed files and you can view a visual diff by double clicking the file.


sudo apt-get install tortoisehg tortoisehg-nautilus

Then just nautilus -q then browse to your project in the file browser

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.