The solution for TortoiseHg Nautilus integration to work on Linux Mint Lisa and Cinnamon, is to place patched nautilus-thg.py file in the following location:
Code: Select all
/usr/share/nautilus-python/extensions/nautilus-thg.py
Note: download the patched version form here: nautilus-thg.py to http://www.4shared.com/file/ThHc9Lhk/nautilus-thg.html [if by any reason that download is not available, you can request me to send you a copy via mail, or go to https://bitbucket.org/tortoisehg/thg/is ... ork-at-all and get a copy of the patch to apply to the original nautilus-thg.py]
Remember to restart nautilus after you have placed the file, to do that run:
Code: Select all
nautilus -q
Note: the mentioned patched nautilus-thg.py is a modification from the one found at (that file is missplaced, it is useless to have it there):
Code: Select all
/usr/lib/nautilus/extensions-2.0/python/nautilus-thg.py
[I'm using TortoiseHg and Mercurial from the PPA, the branch is stable snapshots (https://launchpad.net/~mercurial-ppa/+a ... -snapshots and https://launchpad.net/~tortoisehg-ppa/+ ... -snapshots). Just in case that makes a difference]
This bug is listed as fixed for TortoiseHg 2.3.2, I have TortoiseHg 2.4 (2.4+45-9eef15d181b8-0ppa1~oneiric1) thanks to the PPA, and I still had to apply this patch because of mysterious reasons beyond my understanding. Anyway, this seems to be an Ubuntu Oneiric Ocelot specific problem, and since Linux Mint Lisa is based on Oneiric it is affected. So, hopefully this wont apply to the new Linux Mint Maya which is based on Ubuntu Precise Pangolin.
The sole purpose of posting this already solved issue is to make it easier for others to find the solution.
Edit:
I've posted nautilus-thg.py to http://www.4shared.com/file/ThHc9Lhk/nautilus-thg.html instead of attaching because this forum happens to be extension picky (not saying that there is anything wrong with that). I've also requested virustotal.com to scan the file, you can see the results here: https://www.virustotal.com/file/01e4f0c ... 337271055/
As virustotal shows the SHA256 of the file is the following:
Code: Select all
01e4f0cd42400e75797bc554268324d7b078b7ca0c52c692f8fdf96a333fb193
Code: Select all
sudo apt-get install md5deep
To check the SHA256 of nautilus-thg,py (in this case, or any other file you want), run from the terminal the following (being in the same folder as the target file):
Code: Select all
hashdeep nautilus-thg.py -c SHA256
I provide this information with the following guarantee: it works for me.