HelpHgIntro » History » Version 2

« Previous - Version 2/4 (diff) - Next » - Current version
Luis Figueira, 2011-03-15 06:07 PM
some changes

An Introduction to Mercurial using easyHg

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

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)

Typical Workflow

Creating or Opening a Repository

Local Repository

Allows you to open a local repository.

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:


External resources

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