Using SSH and mercurial-server (Medium)

 

A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable.

 
 --Leslie Lamport

You have seen that Mercurial allows you to set up repositories for your personal projects and also to share changes through very simple mechanisms, such as hg serve or import/export commands. This recipe goes a little further and explains how to work with a team by generating SSH keys and working with a central repository using either Mercurial directly or the mercurial-server add-on.

Even if a DVCS software allows many different ways of managing your revisions with a team (called workflows), we will go through a description of the simplest one in the next recipe, ...

Get Mercurial Distributed SCM Essentials How-to now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.