Mercurial GUI Client on Ubuntu
April 15th, 2010
TortoiseHg however is not in the Ubuntu Karmic Koala repositories. Another challenge is that TortoiseHg 1.0.1 requires Mercurial 1.5 but Ubuntu Karmic only has Mercurial 1.3 on the repositories. Of course I want the newer versions.
Here are the steps I did to install TortoiseHg, my preferred Mercurial GUI client on Ubuntu Karmic Koala 9.10:
- Add the following PPAs to your Software Sources
- Goto System -> Administration -> Software Sources

- Click the Add button then paste the following on the APT line
-
deb http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu karmic main
- (refer to Mercurial PPA - https://launchpad.net/~mercurial-ppa/+archive/releases)

-
- Click the Add Source button
- Click the Add button then paste the following on the APT line
-
deb http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu karmic main
- (refer to TortoiseHg PPA - https://launchpad.net/~tortoisehg-ppa/+archive/releases)
-
- Click the Add Source button
- Your Software Sources should now reflect the newly added PPAs.

- Click the Close button.
- You will be asked to reload the information about available software, click on the Reload button.

- Wait until the software sources update is finished.
- Finally, to install TortoiseHg on Ubuntu, type this in the shell:
$ sudo apt-get install tortoisehg
After that is done, Nautilus needs to be reloaded to reflect the context menu. You may logout then log back in or just type this in the shell to quit all Nautilus instances:
$ nautilus -q
Thanks to Jesumer for pointing this out.
- You may then launch Nautilus and right-click on a folder/file. Your context menu should now show TortoiseHG as a menu item:
- Goto System -> Administration -> Software Sources
Congratulations! You have just installed TortoiseHg on your Ubuntu Karmic box.
Here are my references on myListBoard.com.
Cyril Pauya Categories: Software, how-to, programming 9.10, gui-client, hg, karmic, karmic-koala, mercurial, ubuntu






-I already install TortoiseHg on ubuntu but when i tried to take the 11th steps there is no TortoiseHg on the menu item,so i go on the system>adminastration>synaptic package manager then search Tortoise on the quick search then mark and apply the TortoiseHg-nautilus.
- Open terminal and type nautilus -q to quit nautilus and proceed to step 11.
Hello there. Have successfully followed your examples up to step 11. I’ve double checked that all dependencies are installed. Unfortunately I’m just not seeing the ‘TortoiseHG’ menu item when I launch nautilus and right click. I wonder what I’ve neglected to do. Thanks! Jasmine
Just saw comment above. ‘nautilus -q’ in terminal and then back to step 11 – works. Might be worth making a note for people new to Ubuntu. Thanks for your help.
@jesumer
Thanks for pointing that out. I have updated Step 10 accordingly.
@Jasmine Myer
I have updated step 10 to reflect Jesumer’s suggestion. Am glad my post helped you.
Thanks for visiting my blog.
I followed exactly you said but I cant see anything in my context menu. I dont think things are different in Lucid. And by the way how did you add open terminal here in your context menu.
@Kumar Chetan Sharma
maybe it’s on Synaptic? Remember to either logout then log-back-in after installation.
I’m sorry but I haven’t tried setting up tortoisehg-nautilus in Ubuntu Lucid which was just released
I installed nautilus-open-terminal thru Synaptic to have an “Open in Terminal” on my Nautilus context menu.
Thanks !
However I was able to work with the debian packages (http://packages.debian.org/search?keywords=tortoisehg) than the launchpad builds ! ….
Hg is pretty very fast, so a tortoise is a bit of a misnomer ….. though it works nice !
@Arkapravo
Thanks for visiting!
Yeah, typing hg on your CLI is much faster.
Check out really good agile project management tool Yodiz it is best tool to manage your agile scrum and issues on kanban board