WebStorm 2016.2 Help


File | Settings | Version Control | Mercurial for Windows and Linux
WebStorm | Preferences | Version Control | Mercurial for OS X


Use this page to specify the version control settings to be applied to the directories of your project that are under Mercurial control.

Path to hg executable Specify the location of the Mercurial executable file. Enter the path manually, or click the Browse button browseButton and select the path in the dialog that opens.

If you followed the standard installation procedure, the default location is /opt/local/bin or /usr/local/bin for Linux and OS X and /Program Files/TortoiseHG for Windows.

It is recommended that you add the path to the Mercurial executable file to the PATH variable. In this case, you can specify only the executable name, the full path to the executable location is not required. For more information about environment variables, see Path Variables.

Test Click this button to verify the path to the Mercurial executable.
Control repositories synchronously This option only becomes available if you have a multirooted project, i.e. there are several Mercurial repositories within a single project.

Select this option if you want branch operations (such as checkout, merge, etc.) to be applied synchronously to all repositories within your project.

Check for incoming and outgoing changesets Select this option if you want WebStorm to detect incoming and outgoing changes in the background mode. WebStorm will automatically request the server for incoming and outgoing changesets every 5 minutes.
Ignore whitespace differences in annotations Select this check box if you want white spaces to be ignored when annotating, and, thus, get more meaningful annotations and cast out senseless ones.

See Also

Last modified: 15 November 2016