Assembla home | Assembla project page
 

Documentation

You have to install Mercurial separately, if you are using Linux it is probably available from your Linux distributor's packaging system, on other systems you have to look at the Mercurial homepage for more info.

Configure Mercurial Eclipse

Have mercurial installed, if it's not in the path you have to configure your "hg" command in the prefs under team->MercurialEclipse?. You can also specify the username to use.

Clone a project from anywhere

In the meny select "New" -> "Other"

In the popup window select "Mercurial" -> "Clone Repository using Mercurial"

Fill in the Repository to clone from and the local name.

Version control your project using Mercurial

Right click on the project in the navigator, select "Team"->"Share Project..." Select "Mercurial"

In the window thats opens select Mercurial

Mercurial eclipse will try to search for a .hg directory (drawer/folder) in the filesystem from the project root and to its parents if it finds one it will suggest this as the HG root directory otherwise it will suggest the project root.

When ready with the selection press "Finished" if it didn't find a .hg directory in the selected dir it will issue a "hg init" command to create a repository. No files is currently added this has to be done by hand.

Put file under Mercurial control

To put a file under mercurial control you right click and select "Team(hg)"->"hg add" for the files can be done recursive if you select a folder.

Remove file from Mercurial control and delete it

Remember that "Team(hg)"->"hg remove" will delete the file from the file system.

Commit all changes to Mercurial repository

Right click and select "Team(hg)"->"hg commit" on any file, all changes will be commit not just that file. If you have trouble to commit under windows please check that the username i configured in the prefs dialog.

Push changes to remote repository

PushWizard

Pull changes from remote repository

PullWizard Page1

Click next to see incoming changesets...

PullWizard Page2

Double-click on a modified file to compare the incoming revision to your local revision...

CompareDialog

Serve Wizard

Serve Wizard

Sign

SignWizard

Switch to branch

Switch to Branch

Label decorators

Status decoration decoration-merge-conflicts.png

Might have to be enabled in Preferences: General -> Appearance -> Label Decorations see LabelDecorator for a list of the label decorators.

Strip

StripWizard

History View

History View

Transplant Wizard

TransplantWizard Page 1 TransplantWizard Page 2

Preferences

Preference Page 1 console preferences page Preference Page Performance Preference Page Timeouts

Clone

CloneWizard at work

Synchronize Wizard

SynchronizeWizard Page 1 SynchronizeWizard Page 2

Compare Remote File

Synchronize Perspective with remote compare

Tag Wizard

TagWizard Page 1 TagWizard Page 2

Annotate

Annotate

Custom console

http://www.assembla.com/spaces/mercurialeclipse/documents/cesI2ssQWr3zQZab7jnrAJ/download/new-mercurial-console.png

Attachments