Table of Contents
- Documentation
- Configure Mercurial Eclipse
- Clone a project from anywhere
- Version control your project using Mercurial
- Put file under Mercurial control
- Remove file from Mercurial control and delete it
- Commit all changes to Mercurial repository
- Push changes to remote repository
- Pull changes from remote repository
- Serve Wizard
- Sign
- Switch to branch
- Label decorators
- Strip
- History View
- Transplant Wizard
- Preferences
- Clone
- Synchronize Wizard
- Compare Remote File
- Tag Wizard
- Annotate
- Custom console
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
Pull changes from remote repository
Click next to see incoming changesets...
Double-click on a modified file to compare the incoming revision to your local revision...
Serve Wizard
Sign
Switch to branch
Label decorators
Might have to be enabled in Preferences: General -> Appearance -> Label Decorations see LabelDecorator for a list of the label decorators.
Strip
History View
Transplant Wizard
Preferences
Clone
Synchronize Wizard
Compare Remote File
Tag Wizard
Annotate
Custom console
Attachments
- shareproject1.png (61.6 kB) - added by zingo on 05/07/08 19:34:23.
- shareproject2.png (22.9 kB) - added by zingo on 05/07/08 19:34:45.
- shareproject3.png (18.4 kB) - added by zingo on 05/07/08 19:35:09.
- new_wizard1.png (28.5 kB) - added by zingo on 05/07/08 19:35:41.
- new_wizard2.png (32.0 kB) - added by zingo on 05/25/08 18:20:59.
- PullWizard2.jpg (68.5 kB) -
PullWizard? Page2
, added by bastiand on 05/25/08 19:17:22. - PullWizardIncomingCompare.jpg (115.0 kB) -
CompareDialog?
, added by bastiand on 05/25/08 19:18:51. - PushWizard.jpg (33.3 kB) -
PushWizard?
, added by bastiand on 05/25/08 19:19:11. - ServeWizard.jpg (34.2 kB) -
Serve Wizard
, added by bastiand on 05/25/08 19:19:29. - SignWizard.jpg (74.5 kB) -
SignWizard?
, added by bastiand on 05/25/08 19:20:28. - StripWizard.jpg (61.0 kB) -
StripWizard?
, added by bastiand on 05/25/08 19:20:52. - SwitchToBranch.jpg (15.9 kB) -
Switch to Branch
, added by bastiand on 05/25/08 19:21:16. - History.jpg (137.9 kB) -
History View
, added by bastiand on 05/25/08 19:21:56. - TransplantWizard1.jpg (97.2 kB) -
TransplantWizard? Page 1
, added by bastiand on 05/25/08 19:25:00. - TransplantWizard2.jpg (65.0 kB) -
TransplantWizard? Page 2
, added by bastiand on 05/25/08 19:25:18. - Preferences1.jpg (46.1 kB) -
Preference Page 1
, added by bastiand on 05/25/08 19:25:41. - PreferencesPerformance.jpg (40.5 kB) -
Preference Page Performance
, added by bastiand on 05/25/08 19:25:56. - PreferencesTimeouts.jpg (50.9 kB) -
Preference Page Timeouts
, added by bastiand on 05/25/08 19:26:15. - CloneWorking.jpg (39.3 kB) -
CloneWizard? at work
, added by bastiand on 05/25/08 19:31:01. - SynchronizeWizard1.jpg (32.9 kB) -
SynchronizeWizard? Page 1
, added by bastiand on 05/25/08 19:36:16. - SynchronizeWizard2.jpg (19.1 kB) -
SynchronizeWizard? Page 2
, added by bastiand on 05/25/08 19:37:05. - CompareRemoteFile.jpg (197.0 kB) -
Synchronize Perspective with remote compare
, added by bastiand on 05/25/08 19:37:33. - PullWizard1.png (32.2 kB) -
PullWizard? Page1
, added by bastiand on 05/25/08 19:43:08. - decoration.png (37.2 kB) -
Status decoration
, added by bastiand on 05/25/08 19:48:35. - TagWizard1.png (19.6 kB) -
TagWizard? Page 1
, added by bastiand on 05/25/08 19:51:16. - TagWizard2.png (52.4 kB) -
TagWizard? Page 2
, added by bastiand on 05/25/08 19:51:28. - Annotate.png (164.4 kB) -
Annotate
, added by bastiand on 05/25/08 19:57:38. - screenshot5.png (39.3 kB) -
decoration-merge-conflicts.png
, added by bastiand on 06/30/08 19:36:58. - console-preference-page.png (50.9 kB) -
console preferences page
, added by bastiand on 07/05/08 18:06:36.





























