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.
- To keep track of every old version of every file
- 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.