Documentation

Support

Unity Version Control

List of triggers

Explore the list of available triggers in Unity Version Control.
Read time 2 minutesLast updated 21 days ago

List of triggers

This is a complete list of all available events that you can bind triggers to. You can get a list of all supported trigger types on the command line client with the
showtypes
command:
cm trigger showtypes

Server-side triggers list

Trigger

Description

before-add
,
after-add
Fires on item addition, only once per
add
command. A list of the added items is provided to the trigger script.
before-checkin
,
after-checkin
Fires on checkin. A list of the items to be checked in is provided.
before-merge
Fires when denying the merge of some branches if certain conditions are not met.
before-mkbranch
,
after-mkbranch
Fires on branch creation.
before-mklabel
,
after-mklabel
Fires on label creation.
before-mkatt
,
after-mkatt
Fires on attribute creation.
before-chattvalue
,
after-chattvalue
Fires when the value of an attribute applied to a certain object changes.
before-mkrep
,
after-mkrep
Fires on repository creation.
before-rmrep
,
after-rmrep
Fires on repository deletion.
before-mkworkspace
,
after-mkworkspace
Fires on workspace creation.
before-mkreview
,
after-mkreview
Fires on code review creation.
before-editreview
,
after-editreview
Fires on code review edition.
security (after-security)
Fires every time a security exception happens on a denied operation.
before-replicationread
,
after-replicationread
Fires on replication read operations.
before-replicationwrite
,
after-replicationwrite
Fires on replication write operations.
before-rmbranch
,
after-rmbranch
Fires on branch deletion.
before-mvbranch
,
after-mvbranch
Fires on branch renaming.
before-rmchangeset
,
after-rmchangeset
Fires on changeset deletion.
before-rmlabel
,
after-rmlabel
Fires on label deletion.
before-rmattribute
,
after-rmattribute
Fires on attribute deletion.

Client side triggers list

Trigger

Description

before-mkworkspace
,
after-mkworkspace
Fires when a workspace is created.
before-setselector
,
after-setselector
Fires on any workspace selector change, including explicitly setting the selector and also the
switch to...
commands.
before-update
,
after-update
The path to be updated is provided to the script.
before-clientcheckout
,
after-clientcheckout
The paths of the files and directories to be checked out are provided to the trigger scripts. The user can use it to perform customized operations
before
or
after
a file is checked out.
before-clientcheckin
,
after-clientcheckin
The paths of the files and directories to be checked in are provided to both the
before
and
after
operations.