I want a GUI to view, compare and checkout versions of my project(s). But when I want to install Tortoise HG, apt proposes to downgrade Mercurial. I remember that upgrading to 3.3 has solved some problem (I do not remember what it was), and I have a number of repositories created with 3.3, so I do not want to downgrade.
hg view
sort of works, but it does not allow me to checkout a revision or compare two revisions with meld
.
$ hg --version
Mercurial Distributed SCM (version 3.3.2)
...
$ sudo aptitude install tortoisehg
....
The following packages have unmet dependencies:
tortoisehg : Depends: mercurial (< 3.2~) but 3.3.2-1ppa2~precise1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) tortoisehg [Not Installed]
Accept this solution? [Y/n/q/?]
...
Downgrade the following packages:
3) mercurial [3.3.2-1ppa2~precise1 (now, precise) -> 2.0.2-1ubuntu1 (precise)]
So:
1. How do I install Tortoise-hg for Mercurial 3.3?
2. What alternatives can I use instead?
EDIT:
$ lsb_release -a; uname -a; apt-cache policy tortoisehg mercurial
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux somename 3.11.0-26-generic #45~precise1-Ubuntu SMP Tue Jul 15 04:04:35 UTC 2014 i686 i686 i386 GNU/Linux
tortoisehg:
Installed: (none)
Candidate: 3.0-0ppa1~precise1
Version table:
3.0-0ppa1~precise1 0
500 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ precise/main i386 Packages
2.2-1 0
500 http://XX.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
mercurial:
Installed: 3.3.2-1ppa2~precise1
Candidate: 3.3.2-1ppa2~precise1
Version table:
*** 3.3.2-1ppa2~precise1 0
500 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ precise/main i386 Packages
100 /var/lib/dpkg/status
3.0.1-0ppa1~precise1 0
500 http://ppa.launchpad.net/tortoisehg-ppa/releases/ubuntu/ precise/main i386 Packages
2.0.2-1ubuntu1.2 0
500 http://XX.archive.ubuntu.com/ubuntu/ precise-updates/universe i386 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages
2.0.2-1ubuntu1 0
500 http://XX.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
EDIT2:
$ apt-cache policy tortoisehg
tortoisehg:
Installed: (none)
Candidate: 3.3.3+2-426769dbcfe8-0ppa1~precise1
Version table:
3.3.3+2-426769dbcfe8-0ppa1~precise1 0
500 http://ppa.launchpad.net/tortoisehg-ppa/stable-snapshots/ubuntu/ precise/main i386 Packages
2.2-1 0
500 http://XX.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
Best Answer
After a few more in-depth investigations, I have found that the first version of my answer was wrong.
None of the “TortoiseHg PPA Packagers” team PPAs work with the Mercurial PPAs of the same team, at least not for Precise.
The TortoiseHg PPA Packagers: Snapshots PPA needs
mercurial (>= 2.7~)
andmercurial (<< 2.9~)
and the TortoiseHg PPA Packagers: Stable Snapshots PPA needsmercurial (>= 3.0~)
andmercurial (<< 3.2~)
.