Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm used to TortoiseHg on Windows. I tried

apt-get install tortoisehg tortoisehg-nautilus

But after the installation I still can't use it by typing

tortoisehg

In the terminal or in the launcher, nor can I right click in a folder and see it in the context menu.

What mercurial GUI works with Unity? If tortoiseHg does, how to use it?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

You can run TortoiseHG using command thg (or hgtk in older versions), usually in the directory with Mercurial repo.

To use Nautilus plugin, Nautilus must be restarted first by logging out or executing nautilus -q. You should see TortoiseHG in context menu and File menu then.

share|improve this answer

If you've literally typed the above in, you've got the 'g' and 'h' swapped in your apt-get line:

tortoisegh-nautilus

should be

tortoisehg-nautilus
share|improve this answer

If it doesn't show in 13.04 and beyond, I managed to install it rather easily by using the tortoisehg ppa:

sudo add-apt-repository -y ppa:tortoisehg-ppa/releases
sudo apt-get update
sudo apt-get install mercurial tortoisehg
share|improve this answer

At Ubuntu 13.04 after installing from PPA if you cant get the tortoise menu in nautilus and if you have something like this on your .xsession-errors file at home directory:

(nautilus:2750): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory compiz (core) - Info: Unity is fully supported by your hardware. compiz (core) - Info: Unity is fully supported by your hardware. compiz (core) - Info: Starting plugin: opengl ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

Maybe this could help you:

https://bugs.launchpad.net/ubuntu/+source/tortoisehg/+bug/1202823

Good luck

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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