Installing Mercurial and TortoiseHg on Ubuntu
This is a step-by-step guide on installing Mercurial and TortoiseHg on Ubuntu, and setting up a BitBucket account. This was tested on Ubuntu 12.04 LTS and Ubuntu 12.10.
Add TortoiseHg PPA (
That installs Mercurial 2.5.1 and TortoiseHg 2.7.
TorstoiseHg Workbench should open.
Configure user name for commits
Then select File | Settings from the top menu.
In the Commit section enter the username that will be used with commits.
The common format is: Full Name (e.g. Valentin Kantchev )
Install Mercurial keyring extension
Add these lines to the .hgrc (in your home directory):
That allows Mercurial to store and use user credentials in the Ubuntu keychain.
Setup BitBucket user (optional)
Add these lines to your global .hgrc (i.e. /home/valentin/.hgrc), change the username to your own:
.hgrc looks like this: