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

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

Client side triggers list

TriggerDescription
before-mkworkspace, after-mkworkspaceFires when a workspace is created.
before-setselector, after-setselectorFires on any workspace selector change, including explicitly setting the selector and also the switch to... commands.
before-update, after-updateThe path to be updated is provided to the script.
before-clientcheckout, after-clientcheckoutThe 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-clientcheckinThe paths of the files and directories to be checked in are provided to both the before and after operations.