Monday, 9 March 2009

Mercurial for a small project

Today I 'ave been mainly thinking about ... how to use Mercurial for a small team.

Start from repository main (created from existing svn).

Create 2 clones one for each person on the team.

 hg clone main bob
 hg clone main alice

(good old Bob and Alice)

Bob does a few changes 

 vi
 hg status
 hg diff
 hg commit

Alice does a few more changes including an odd one in a file changed by Bob
 
 emacs
 hg diff
 hg status
 hg commit

What will Bob do next? ...anyway I am off to the pub.



No comments:

Post a Comment