Add mercurial support. thanks

Comments

Sean Buscay’s picture

Status: Active » Needs review

Hello.

Do you need something more than mercurial installed?

Installing it is just:

$ sudo apt-get install mercurial

From the terminal.

jn2’s picture

Status: Needs review » Needs work

I tried this on a fresh install of the quickstart appliance 1.0. Got the following output.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mercurial

From the mercurial install tutorial:

Mercurial needs Python to run:

  • If your system does not ship with Python, install it first. Version 2.4 or greater is required.
  • You need Python C header files. They may be in package called python-dev or pythonX.Y-dev (where X.Y is the specific version of Python in use, such as 2.4).
  • You'll also need a C compiler (such as gcc) and a 3-way MergeProgram.

EDITED:
I found this additional command:
sudo apt-get update

This made the other command work.

Full story: it gave me an error code the first time, then Virtualbox crashed. That has been happening a lot lately. When I rebooted and entered the command from #1, it worked fine.

EDITED AGAIN:
The crashing problem was caused by Google Chrome: send anonymous browser information to Google.

jn2’s picture

mike stewart’s picture

Status: Needs work » Closed (works as designed)

Thanks for the suggestion. Not sure the overhead in the image is worth it, vs the ease to install -- but may still add in Quickstart 2.0 ... but in the meantime, if you need mercurial, do this:

Press: ctrl-alt-t # to open a terminal window, then cut-paste:

sudo apt-get update  #updates repositories
sudo apt-get install mercurial  #installs mercurial plus any dependencies, such as python.