Ubuntu – How to install an older version of Mercurial for TortoiseHG

mercurial

I wish to install TortoiseHQ to use with Bitbuket in Ubuntu, but I cannot work out how. I am using the latest version of Ubuntu 12.04 at the time of this post.

I used these commands to install TortoiseHQ:

$ sudo add-apt-repository ppa:mercurial-ppa/releases
$ sudo add-apt-repository ppa:tortoisehg-ppa/releases
$ sudo apt-get update
$ sudo apt-get install tortoisehg
$ sudo apt-get install qct vim emacs kdiff3 kompare meld xxdiff tkcvs mgdiff

I am sure that this is how I had installed it last time, only a few weeks ago (setting up a mate's laptop now), but when I try to run TortoiseHQ workstation, I get this error:

** Mercurial version (2.2.1).  TortoiseHg version (2.3)
** Command: log
** CWD: /home/itisme
** Encoding: UTF-8
** Extensions loaded: 
** Python version: 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3]
** Qt-4.8.1 PyQt-4.9.1
This version of TortoiseHg requires Mercurial version 2.0.n to 2.1.n, but found 2.2.1

So I guess I need to install an older version of Mercurial, but I do not know how. Also, the context menus in the UI file browser are not showing up.

Any ideas?

Best Answer

I had the same problem.

Installing Mercurial from ubuntuupdates.org

and then installing tortoiseHg using sudo apt-get install tortoisehg solved my problem.

s1

s2

s3

s4