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 Versioning Engine replaces RCS
keywords with their current values.
This behavior can be disabled. Edit the
file, and add or update
the SWARM_ROOT
/data/config.phpunapprove_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,
),
Tip
For for information on file types, see: P4 Command Reference: File Types.