Mercurial: a distributed version control system

Mercurial is a modern,open source ,distributed version control system.It is a compelling upgrade from older systems like subversion.It is used to manage the source code. It is mainly used for two important purposes.

  1. To keep track of every old version of every file
  2. To merge different versions of your code, so the members of a group can work independently on the code and then merge their changes.

In the absence of Mercurial, all old versions of a file can be kept by making a lot of copies of the directory containing the code:

But it will take a huge space and may be very confusing.So it is better to use Mercurial.The command for Mercurial is hg: it gives a list of basic commands.For a complete list of commands hg help can also be used.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: