Every Mercurial repository is complete, self-contained, and independent. It contains its own private copy of a project’s files and history. A cloned repository remembers the location of the repository it was cloned from, but it does not communicate with that repository, or any other, unless you tell it to.
Fore more information about Mercurial see the official site.
On a Linux system if/once the mercurial client is installed open a terminal and type
hg --help .
You can use TortoiseHg for Windows or Linux PCs. The tool will be fully integrated in the Windows explorer.
MacHg is a free open source OSX GUI for the revision control system Mercurial.
- Donwload Eclipse Classic 4.8 (Photon) + PDT 6.0 + MercurialEclipse
- "Help"->"Install New Software..."
Photon – http://download.eclipse.org/releases/photonfrom the "Work with" drop down list
- type "php" in the filter text
- Select "PHP Development Tools (PDT) SDK Feature"
- Name: MercurialEclipse
- Screenshots and documentation
- Name: PDT Extensions
- Unpack the Eclipse package in
opt/and create a starter for your desktop
sudo tar -zxvf eclipse-php-photon-R-linux-gtk-x86_64.tar.gz -C /opt/
- Upgrade Eclipse in-place without reinstalling
- Go to Help > Install New Software… > Available Software Sites or Windows > Preferences > Install/Update > Available Software Sites
- Everywhere you see
4.7, press Edit and change it to
4.8. Similarly, change "
oxygen" to "
photon". For example, you should end up with at least these (if you don't have these, just add them):
- Note: you may also need to update other repositories
- Press OK, then go to Help > Check for Updates
- Line endings: Please enforce LF
- Since Eclipse uses the platform’s line ending by default, source code written on Unix / Mac OS will use line feeds (LF), whereas Windows installations of Eclipse produce carriage returns AND line feeds (CRLF).
- Go to the preferences and select General -> Workspace. The New text file line delimiter determines which line ending is used for newly created files.
- missing spell checker in Eclipse for PHP Developers: Installing JDT in Eclipse fixes the problem (the spell checking functionality is bundled with the JDT)
- Setting the encoding per file via Edit -> Set Encodings... or per project Properties -> Resource and type or choose