User Tools

Site Tools


config:tortoisehg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
config:tortoisehg [2020/07/30 13:20] – created Wulf Rajekconfig:tortoisehg [2025/09/18 14:52] (current) – removed Wulf Rajek
Line 1: Line 1:
-====== TortoiseHg ====== 
- 
-No package in Mint20/Ubuntu20.04 (yet), needs to be build manually: 
- 
-<code> 
-# make a folder to hold the tortoise source 
-mkdir ~/temp 2>/dev/null 
-cd ~/temp 
- 
-# alias the python3 binary as python 
-sudo apt install python-is-python3 
-# now this should work, and return a 3.8.x version 
-python --version 
- 
-# pip3 is needed to fulfill all the build dependencies 
-sudo apt install -y python3-pip build-essential 
- 
-# install mercurial command line 
-sudo apt install -y mercurial 
-# pull tortoisehg source (stable branch) 
-hg clone https://foss.heptapod.net/mercurial/tortoisehg/thg -r stable 
-cd thg 
-pip3 install pyqt5 
-pip3 install qscintilla 
-sudo apt install -y pyqt5.qsci-dev 
-sudo apt-get install python3-pyqt5.qsci 
-pip3 install mercurial 
- 
-# install one more necessary package 
-sudo apt install -y python3-iniparse 
- 
-# build it 
-make local 
-# move it to ~/tortoisehg  (this is optional) 
-cd ~/temp 
-rm -rf ~/tortoisehg 2>/dev/null 
-mkdir ~/tortoisehg 
-mv thg/* ~/tortoisehg 
-</code> 
- 
-Now you can create a dock/desktop entry: 
-<code> 
-vi ~/.local/share/applications/tortoisehg.desktop 
-</code> 
-and paste in these lines (replace "developer" with your username) : 
-<code> 
-[Desktop Entry] 
-Name=TortoiseHG 
-Exec=/home/developer/tortoisehg/thg 
-Comment=Launch TortoiseHG 
-Terminal=false 
-Type=Application 
-Icon=/home/developer/tortoisehg/icons/thg_logo.ico 
-</code> 
- 
-Now you can hit the "Show Applications" button (the Start menu), search for Tortoise, and add it to favorites. 
- 
  
config/tortoisehg.1596111606.txt.gz · Last modified: (external edit)