Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 6.5.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Search

Table of Contents
Icon

This page is under construction.

Mercurial Version Control System support is implemented as a plugin. Please, refer to the plugin's page for the configuration details.

TeamCity uses typical Mercurial command line client: hg command. Ensure, your client is working with ssh:// protocol.

Icon

Note that:

  • Remote Run form IDE is not supported.
  • Checkout rules for agent-side checkout are not supported except for .=><target_dir> rule.

Changes Checking Interval

Option

Description

Checking interval

Select here how often TeamCity should check for VCS changes. By default the global predefined server setting is used, that can be modified at the Administration > Server Configuration page. The interval's time starts being counted as soon as the last VCS server poll is finished. Here you can specify here custom interval for the current VCS root.

Icon

Some public servers can block access if polled frequently.

VCS Root Sharing

Option

Description

VCS Root Sharing

Enable this option to use this VCS root in other projects or build configurations. See Shared VCS Roots for more information.

Internal Properties

On server-side it is possible to configure the following internal properties related to Mercurial:

Property

Default

Description

teamcity.hg.pull.timeout.seconds

3600

Maximum time in seconds for pull operation to run (since 6.5.5)

Agent configuration for Mercurial:

Property

Default

Description

teamcity.hg.use.local.mirrors

false

When checkout on agent: whether TeamCity should clone to local agent mirror first and then clone to working directory from this local mirror. This option speed-ups clean checkout, because only build working directory is cleaned. Also if single root is used in several build configurations clone will be faster.

teamcity.hg.pull.timeout.seconds

3600

Maximum time in seconds for pull operation to run (since 6.5.5)



See also:

Administrator's Guide: Branch Remote Run Trigger