Any complete GUI interface for Mercurial?

17,951

Solution 1

Add the following PPAs to your Software Sources, instructions are at the link endpoints:

https://launchpad.net/~tortoisehg-ppa/+archive/releases Launchpad logo

https://launchpad.net/~mercurial-ppa/+archive/releases Launchpad logo

Or do it via the command line.

ppa:tortoisehg-ppa/releases Launchpad logo (Click here for instructions on using PPAs.)

ppa:mercurial-ppa/releases Launchpad logo (Click here for instructions on using PPAs.)

$ sudo apt-add-repository ppa:tortoisehg-ppa/releases
$ sudo apt-add-repository ppa:mercurial-ppa/releases

Install tortoisehg, and tortoisehg-nautilus if you want nautilus integration.

$ sudo apt-get install tortoisehg tortoisehg-nautilus

Use hgtk as though it were the usual hg command to get a GUI interface for each command (e.g. hgtk status), or use the interface provided in nautilus if you installed the requisite package.

Solution 2

hg view is installed as part of the mercurial package, but not enabled by default to keep the package from depending on the tk toolkit. Install tk8.5, and the add the following to your "$HOME/.hgrc" file:

[extensions]
hgk=

Launch by running hg view in the repository folder. alt text

Solution 3

meld does a pretty decent job. Just install it like this:

sudo apt-get install meld

And run it with:

meld

Then select "Version control view" and point it at the directory with your repository. It will show you all the changed files and you can view a visual diff by double clicking the file.

Share:
17,951

Related videos on Youtube

Queops
Author by

Queops

Updated on September 17, 2022

Comments

  • Queops
    Queops almost 2 years

    I've tried TortoiseHG from the repositories, but it wasn't working at all.

    • red.clover
      red.clover over 13 years
      You might want to be more descriptive about the problem you had with TortoiseHG.
    • Queops
      Queops over 13 years
      Didn't react to any of the "menu" commands I selected.
    • red.clover
      red.clover over 13 years
      They work for me on 10.10. Make sure that you also have tortoisehg-nautilus installed. Also nautilus has to be restarted.
    • Queops
      Queops over 13 years
      Exactly as you told. Nothing happens when I click options or Clone... for example.. very weird. EDIT: Does work if you input the commands on console, not through menu.
    • RusGraf
      RusGraf over 13 years
      @Queops Have you filed a bug about this problem?
    • Reno
      Reno over 13 years
  • Queops
    Queops over 13 years
    Nice handy PPAs
  • magister
    magister over 11 years
    When I try to install tortoisehg I got the following message : The following packages have unmet dependencies: tortoisehg : Depends: mercurial (< 2.5~) but 2.5-0ppa1~precise1 is to be installed Recommends: python-iniparse but it is not going to be installed E: Unable to correct problems, you have held broken packages.
  • Jonathan
    Jonathan about 9 years
    Doing this works fine: sudo apt-get install tortoisehg tortoisehg-nautilus No need for PPAs anymore (Ubuntu 15)
  • Martin Pecka
    Martin Pecka about 8 years
    I needed to put the path to hgk.py into $HOME/.hgrc, ie. hgk=/usr/lib/python2.7/dist-packages/hgext/hgk.py.