|
Version Control Integrations > Perforce Integration > Perforce Server Triggers |
|
|
ccollab admin trigger ensure-diffs-reviewed |
|
Use the ensure-diffs-reviewed trigger to ensure that the difference between the current content and proposed content of each file is the same as the difference between the base and proposed content in the review by comparing the line-wise changes. Command Line Syntax: ccollab [global-options] admin trigger ensure-diffs-reviewed [--ignore-integrate] [--no-keywords --review-id-regex <value>] <changelist-id>
Installation To install the trigger, add a line like this to your Perforce Triggers list: ccollab change-content //depot/... "/usr/bin/ccollab --url <collabUrl> --user <collabUser> --password <collabPasswd> --scm perforce --p4port <p4port> --p4client %client% --p4user <p4user> --p4passwd <p4passwd> admin trigger ensure-diffs-reviewed %changelist%" Some notes:
Remarks Important: If any of Collaborator clients have the smartbear.ccollab.upload.truncate.size VM-option set up, consider using the ensure reviewed trigger instead of this trigger. This VM-option truncates the uploaded files up to the specified size. As a result, the ensure-diffs-reviewed and ensure-content-reviewed triggers will compare only the remaining parts of the truncated files. |
|
© 2003-2025 SmartBear Software. All rights reserved. |