Reference trees allow you to have a physical copy of the most recent sources for a stream. They are available for reference, thus the name reference tree. Snapshots never change, so they only need to be updated once using update –r and then you can forget about them.To create a reference tree, use the mkref command. To keep a reference tree up to date with its associated stream, you need to run update on the reference tree every time versions are promoted to the stream.A general-purpose script, which can be used to perform various tasks after completion of every promote command. In this case, we're going to have it call the update_ref.pl script.A script that invokes the update command to update the files in a reference tree. On a UNIX/Linux machine, this script must be setUID-root.
2. Edit both the server_post_promote.pl and update_ref.pl scripts, and follow the step-by-step instructions contained within them.
4. accurev mktrig server-post-promote-trig server_post_promote.pl (UNIX/Linux)
accurev mktrig server-post-promote-trig server_post_promote (Windows)
Micro Focus |