Mercurial Client

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.

1. Hg command line client

On a Linux system if/once the mercurial client is installed open a terminal and type hg --help .

2. TortoiseHg

You can use TortoiseHg for Windows or Linux PCs. The tool will be fully integrated in the Windows explorer.

3. MacHg

MacHg is a free open source OSX GUI for the revision control system Mercurial.

4. Eclipse

4.1. remarks

  • Unpack the Eclipse package in opt/ and create a starter for your desktop
    • sudo tar -zxvf eclipse-php-2020-12-R-linux-gtk-x86_64.tar.gz -C /opt/
  • Upgrade Eclipse in-place without reinstalling
    1. Go to Help > Install New Software… > Available Software Sites or Windows > Preferences > Install/Update > Available Software Sites
    2. Everywhere you see 4.17, press Edit and change it to 4.18. Similarly, change "2019-09" to "2020-12". For example, you should end up with at least these (if you don't have these, just add them):
    3. Note: you may also need to update other repositories
    4. Press OK, then go to Help > Check for Updates
  • Line endings: Please enforce LF
    1. 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).
    2. 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
    • Unicode UTF-8 (project default)
    • Latin1 CP1252
    • Greek CP1253
    • Cyrillic CP1251

5. KDevelop

6. NetBeans

7. More

Other tools that work with Mercurial