Helix Swarm Guide (2019.3)

Unapprove modified reviews

By default, when an approved review is committed or updated, Swarm changes the state to Needs Review if the files have been modified since the review was approved.

If one or more files in a review has the filetype +k (ktext), this behavior is undesirable because the files will appear to be modified as the Helix server replaces RCS keywords with their current values. This behavior can be disabled.

Tip

If you make a configuration change, Swarm will not use it until the Swarm config cache has been deleted. For instructions on deleting the config cache, see Swarm config cache file delete.

To disable this behavior, edit the SWARM_ROOT/data/config.php file, and add or update the unapprove_modified item to false, within the reviews configuration block. For example:

<?php
// this block should be a peer of 'p4'
'reviews' => array(
'unapprove_modified' => false,
),

For information on file types, see File Types in Helix Core P4 Command Reference.