Other Version Control Commands

This section describes commands that are common to all the supported Version Control Systems.

VCSDISCARD

VCSDISCARD reverts uncommitted changes in the selected element.

Syntax of the VCSDISCARD statement
VCSDISCARD <element-path:literal> [ WITH_GLOBAL_ELEMENTS ]

When discarding changes at the database level on a database which contains modified elements depending on modified global elements, the operation will be aborted unless the optional WITH_GLOBAL_ELEMENTS clause is included in the command.

Please refer to Discard for details about the operation.