I keep a Mercurial repository on my server so that I can easily keep track of changes to my files and have them readily accessible for any computer. Many of my favorite applications also use Mercurial as a distribution method and for managing source code. Even though my heart belongs to the command-line, my new tablet laptop demands more from the graphical interface. So here is a quick tip to get started working with Mercurial graphically.
The Nautilus extension is not included in the Ubuntu repositories but there is a Personal Package Archive (PPA) available that does have it [1].
In order to access the PPA start the Synaptic Package Manager from the System->Administration menu on the panel. From inside Synaptic select Settings->Repositories on the menu bar. In the new window change to the Third-Party Software tab and click the add button. Finally, copy/paste this into the newest window
The deb source can be added as well
Once the PPA is added just reload Synaptic and install
Code:
nautilus-mercurial-tortoisehg mercurial-tortoisehg mercurial mercurial-common
Restart Nautilus using this command from the terminal
Now the right click menu has a new menu called Mercurial. No more typing
In order to clone a remote repository just right click in the desired folder and select Mercurial->Create Clone from the menu. The mercurial-tortoisehg window has many advance options but to clone a remote repository simply add the remote's url to the Source Path input box and click the clone button.
Now it is easy to create, synchronize, merge, and commit files to Mercurial repositories. All from a right click menu
Bookmarks