Helix Core is now P4 and Helix Swarm is now P4 Code Review. Learn more >>

Documentation | 2025.2

# Tag processor

Including a work-in-progress tag (#wip by default) in a pending changelist tells P4 Code Review not to process the changelist when you update files in the shelf. This means that if the changelist already has a review that review will not be updated. If it doesn't have a review, a new review will not be created. For information on using the work-in-progress tag, see Work-in-progress tag.

If you make a configuration change, P4 Code Review will not use it until the configuration cache has been reloaded, this forces P4 Code Review to use the new configuration. You must be an admin or super user to reload the P4 Code Review config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.

## wip tag configuration

The work-in-progress tag is configured in the tags section of the tag_processor block in the swarm_root/data/config.php file. It is enabled by default:

    <?php
        // this block should be a peer of 'p4'
        'tag_processor' => array(
            'tags' => array(
                'wip' => '/(^|\s)+#wip($|\s)+/i'
            ),
        ),

### Disabling the work-in-progress tag

You can disable the work-in-progress tag completely if you don't want anyone to use it.

To disable the work-in-progress tag, delete the content of the wip string in the swarm_root/data/config.php file so that it is empty ( ''):

    <?php
        // this block should be a peer of 'p4'
        'tag_processor' => array(
            'tags' => array(
                'wip' => ''
            ),
        ),

### Customizing the work-in-progress tag

By default, the work-in-progress tag is #wip, but you can change it to whatever you want to use. P4 Code Review uses Perl Compatible Regular Expressions ( PCRE) to process the wip tag, ensure that your new tag can be processed by PCRE before changing it. If your wip tag cannot be processed by PCRE, P4 Code Review might ignore the tag or stop working correctly.

For example, to change the work-in-progress tag to #noreview, update the tag processor wip configuration in the swarm_root/data/config.php file to:

    <?php
        // this block should be a peer of 'p4'
        'tag_processor' => array(
            'tags' => array(
                'wip' => '/(^|\s)+#noreview($|\s)+/i'
            ),
        ),

### Making the work-in-progress tag case sensitive

To make the work-in-progress tag case sensitive, delete the trailing i from the wip configuration in the swarm_root/data/config.php file:

    <?php
        // this block should be a peer of 'p4'
        'tag_processor' => array(
            'tags' => array(
                'wip' => '/(^|\s)+#wip($|\s)+/'
            ),
        ),

Your search for returned results