summaryrefslogtreecommitdiff
path: root/versionControl/handOut.rst
diff options
context:
space:
mode:
authorShantanu Choudhary2009-08-21 18:00:18 +0530
committerShantanu Choudhary2009-08-21 18:00:18 +0530
commit89c33812c13a3fd953ceefe266854ed07a539420 (patch)
tree780d62ceab8563fa2a4ad968988b70bb5b4e2c16 /versionControl/handOut.rst
parente94c8c0b4bf3df77629db4dd633ae90f48bbd590 (diff)
downloadsees-89c33812c13a3fd953ceefe266854ed07a539420.tar.gz
sees-89c33812c13a3fd953ceefe266854ed07a539420.tar.bz2
sees-89c33812c13a3fd953ceefe266854ed07a539420.zip
Started hg command section.
Diffstat (limited to 'versionControl/handOut.rst')
-rw-r--r--versionControl/handOut.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/versionControl/handOut.rst b/versionControl/handOut.rst
index 008dc58..f875c94 100644
--- a/versionControl/handOut.rst
+++ b/versionControl/handOut.rst
@@ -101,7 +101,35 @@ Based on how source management is carried out in a tool there are two categories
- 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 <mpm@selenic.com> 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:
------------------