HelpHgIntro » History » Version 2

Version 1 (Luis Figueira, 2011-03-15 05:09 PM) → Version 2/4 (Luis Figueira, 2011-03-15 06:07 PM)

h1. An Introduction to Mercurial using easyHg

Mercurial is a distributed revision control tool. It is written in Python.

h2. Basic Commands

These are some of the commands you'll find in the easyMercurial interface:

*add* add the specified files on the next commit
*commit* commit the specified files or all outstanding changes
*diff* diff repository (or selected files)
*incoming* show new changesets found in source (in the easyMercurial interface this command is called Preview)
*merge* merge working directory with another revision
*pull* pull changes from the specified source
*push* push changes to the specified destination
*revert* restore individual files or directories to an earlier state
*update* update working directory (or switch revisions)

h2. Typical Workflow

h3. Creating or Opening a Repository

h4. Local Repository

Allows you to open a local repository.

h4. File Folder

Allows you to initialize a local folder as a Mercurial repository.

External Repository

If you have a remote repository URL and want to clone (make a copy of an existing repository) it to your local filesystem.


Updating local from remote:


h3. External

* For a simple tutorial on Mercurial (command line), Mercurial, please go to
* _Mercurial: The Definitive Guide_ by Bryan O'Sullivan is a reference book on Mercurial. You can read it for free here: