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.
h4. 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.
Workflow
Updating local from remote:
pull
update
h3. External resources
* For a simple tutorial on Mercurial (command line), Mercurial, please go to http://hginit.com/
* _Mercurial: The Definitive Guide_ by Bryan O'Sullivan is a reference book on Mercurial. You can read it for free here: http://hgbook.red-bean.com/
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.
h4. 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.
Workflow
Updating local from remote:
pull
update
h3. External resources
* For a simple tutorial on Mercurial (command line), Mercurial, please go to http://hginit.com/
* _Mercurial: The Definitive Guide_ by Bryan O'Sullivan is a reference book on Mercurial. You can read it for free here: http://hgbook.red-bean.com/