Version Control Systems

Mercurial

Mercurial is an open source distributed version control system initially designed as a replacement tool for Linux kernel development. In Deveo, you can create any number of Mercurial repositories in your projects.

The below is the list of resources to help you learn Mercurial:

Setting up

Download and install the latest version of Mercurial client and open your Terminal.

Introduce your name and email to Mercurial, so that Deveo can display your user account correctly. Please specify the same email address you use to sign in to Deveo:

Open ~/.hgrc (or on a Windows system in %USERPROFILE%\Mercurial.ini) by creating it and adding the following lines:

username = YOUR NAME <[DEVEO EMAIL ADDRESS]>

Configure your SSH keys under your Deveo Profile settings and start working with Mercurial.

For example, to clone the "bar" Mercurial repository from the "foo" project in "acme" company with SSH, issue the following command in the terminal:

hg clone ssh://deveo@app.deveo.com/acme/projects/foo/repositories/git/bar

To clone the same repository with HTTP:

hg clone http://[DEVEO USERNAME]@app.deveo.com/acme/projects/foo/repositories/mercurial/bar
Updated on: 23 March 2017