I've tried TortoiseHG from the repositories, but it wasn't working at all.
4 Answers
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:
[extensions]
hgk=
Launch by running hg view in the repository folder.

- 875
- 37,412
-
1I needed to put the path to hgk.py into
$HOME/.hgrc, ie.hgk=/usr/lib/python2.7/dist-packages/hgext/hgk.py. – Martin Pecka Jun 10 '16 at 13:40 -
I got "/usr/bin/env: ‘wish’: No such file or directory" and had to do
apt install tk– Olle Härstedt Jan 30 '24 at 13:46
Add the following PPAs to your Software Sources, instructions are at the link endpoints:
https://launchpad.net/~tortoisehg-ppa/+archive/releases 
https://launchpad.net/~mercurial-ppa/+archive/releases 
Or do it via the command line.
ppa:tortoisehg-ppa/releases
(Click here for instructions on using PPAs.)
ppa:mercurial-ppa/releases
(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.
- 1,607
-
-
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 07 '13 at 16:45
-
1Doing this works fine:
sudo apt-get install tortoisehg tortoisehg-nautilusNo need for PPAs anymore (Ubuntu 15)
– Jonathan Jun 25 '15 at 19:10
meld does a pretty decent job. Just install it like this:
sudo apt-get install meld
And run it with:
meld
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.
- 381
-
Unless I'm mistaken, this only shows current changes, and can't display commit history. – Azmisov Jun 06 '23 at 23:18
sudo apt-get install tortoisehg tortoisehg-nautilus
Then just nautilus -q then browse to your project in the file browser
- 3,904
tortoisehg-nautilusinstalled. Also nautilus has to be restarted. – andrewsomething Oct 29 '10 at 21:18