During the build, the plugin uses the hg specified in the HG command path field of a VCS root settings. To use the detected hg, put
%teamcity.hg.agent.path% in this field. Configurations with such settings will be run only on agents which report the path to hg.
The Starting with 2017.2. the server side of the plugin checks the value of the
teamcity.hg.customServerHgPathWhitelist internal property. The property contains ;-separated list of allowed hg paths to use on the server. If the path specified in VCS root is in whitelist, then it is used on the server. If not, the path specified in the
teamcity.hg.server.path internal property is used. If this property is not set, TeamCity server uses
hg from the
Specify the Mercurial configuration options to be applied to the repository during agent-side checkout, e.g. enter the following to enable the
Before 2017.2.2 this option was also used on TeamCity server. This was disabled for security reasons.
Defines whether to purge files and directories not being tracked by Mercurial in the current repository. You can choose to remove only unknown files and empty directories, or to remove ignored files as well. Added files and (unmodified or modified) tracked files are preserved.
When enabled, TeamCity creates a local agent mirror first (under agent's