I've tried TortoiseHG from the repositories, but it wasn't working at all.
-
1You might want to be more descriptive about the problem you had with TortoiseHG. – andrewsomething Oct 29 '10 at 21:07
-
Didn't react to any of the "menu" commands I selected. – Queops Oct 29 '10 at 21:13
-
2They work for me on 10.10. Make sure that you also have `tortoisehg-nautilus` installed. Also nautilus has to be restarted. – andrewsomething Oct 29 '10 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 '10 at 21:41
-
@Queops Have you filed a bug about this problem? – ændrük Dec 06 '10 at 20:07
-
http://askubuntu.com/questions/10331/any-complete-gui-interface-for-mercurial – Scarlet Feb 10 '11 at 10:47
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.

- 855
- 11
- 25
- 37,262
- 13
- 93
- 140
-
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
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
- 4
- 14
- 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 07 '13 at 16:45
-
1Doing this works fine: `sudo apt-get install tortoisehg tortoisehg-nautilus` No 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
- 3
- 7
-
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,804
- 5
- 29
- 51