# HG changeset patch # User Shantanu # Date 1250857818 -19800 # Node ID d20e3fe4fd8cbf0ef8cdf29d7dff5a8ae8f022b8 # Parent e0dc3f0ad2f686333c0bde1ebe7e003a93fa7f32 Started hg command section. diff -r e0dc3f0ad2f6 -r d20e3fe4fd8c versionControl/handOut.rst --- a/versionControl/handOut.rst Fri Aug 21 16:51:43 2009 +0530 +++ b/versionControl/handOut.rst Fri Aug 21 18:00:18 2009 +0530 @@ -101,7 +101,35 @@ - Distributed VCS: In a distributed model, every developer has their own repo. Diffs, commits, and reverts are all done locally, one needs Internet only to share the changes with others. It makes work faster, handles branching and merging in better way, with less management. hg, bzr and git uses this workflow. +Get Going with Hg: +------------------ +Reasons for selecting Hg rather then any other tools are: + + - It is easy to learn and use. + - It is lightweight. + - It scales excellently. + - It is based on Python. + +To get going with hg, following command gives the version. :: + + $hg version + + Mercurial Distributed SCM (version 1.1.2) + Copyright (C) 2005-2008 Matt Mackall and others + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Built-in help, Mercurial provides a built-in help system. Following command will print a brief list of commands, along with a description of what each does. :: + + $hg help + + Mercurial Distributed SCM + list of commands: + add add the specified files on the next commit + addremove ----------------------- + + Suggested Reading: ------------------