Version 1 (modified by vegasm, 8 years ago) (diff)


How to use Mercurial

Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface.

Command line

hg status #Check if you have the last repository version downloaded

hg add   #Add elements flagged as ?

hg commit -m "Your message"   #Commit changes and include a message

hg diff -c tip  #See differences in the last commit

hg help config #Shows help tips

Mercurial Typical errors

abort no username supplied

If does not exist, create a file in .hg called hgrc and include the following:

default = http://your_domain/hg/project_name
username = Your name and surname <Your email>

Check for further details