The page is available only when the Mercurial plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If the plugin is disabled, enable it on the Installed tab of the Settings/Preferences | Plugins page, as described in Managing plugins.
Use this page to specify the version control settings to be applied to the directories of your project that are under Mercurial version control.
Path to hg executable
Specify the location of the Mercurial executable file. Enter the path manually, or click the Browse button and select the path in the dialog that opens.
If you followed the standard installation procedure, the default location is /Applications/TortoiseHg.app/Contents/MacOS/hg or /usr/local/bin for Linux and macOS and /Program Files/TortoiseHG for Windows.
It is recommended that you add the path to the Mercurial executable file to the
Click this button to verify the path to the Mercurial executable.
Execute branch operations on all roots
This option only becomes available if you have a multirooted project, that is there are several Mercurial repositories within a single project.
Select this option if you want branch operations (such as
Check for incoming and outgoing changesets
Select this option if you want PhpStorm to detect incoming and outgoing changes in the background mode. PhpStorm will automatically request the server for incoming and outgoing changesets every 5 minutes.
Ignore whitespace differences in annotations
Select this option if you want white spaces to be ignored when annotating, and, thus, get more meaningful annotations and cast out senseless ones.