TeamCity On-Premises
 
Get TeamCity On-Premises

Revision

Edit pageLast modified: 28 March 2022

A revision refers to a specific state of a version control history; basically it is a version of the source code. When changes occur, they are usually identified by a number or letter code, termed "revision".

When displaying changes included in a finished or queued build, TeamCity also displays the corresponding revision. This page explains how TeamCity chooses VCS revisions for a build.

TeamCity remembers the current repository revision when you add a new VCS root for a project or build configuration, or when you modify settings of an existing VCS root.

After that, TeamCity does not monitor the whole repository but only collects changes for the scope of the repository specified in TeamCity: the configured VCS root settings with checkout rules.
The revision of the sources corresponding to the latest detected change affecting your build will be displayed as the VCS root revision on the Changes page accessible via the link on the Projects page or on the Changes tab of Build Results.