Issue variants are automatically-generated, internal variations of issues and their change packages that AccuRev creates to keep track of changes caused by patch, merge, and revert operations. In previous AccuRev releases, users were prompted to create tracking issues (or they might create totally different issues) and these issues could be difficult to relate to the original issue(s).
A single tracking issue can keep track of the additional changes for any number of original issues. Thus, it makes sense to select Create Issue the first time you need to specify a tracking issue, and select
Use Existing on subsequent uses of promote-by-issue in the same workspace. You might also need to select
Use Existing if you are not allowed to create new issues.
AccuRev automatically proceeds with your original Promote. It prompts you for a comment, then sends the versions from the workspace to the original destination stream. The cross-promotion of the original issue(s) is now complete.
The Stream Browser shows that the original issue (in our example, #8) has been promoted from the source stream (
brs34_able) to the destination stream (
brs34_baker). The tracking issue (
#11) records the additional changes to issue #8’s elements that have been propagated to the destination stream.
AccuRev provides change package dependency tracking, which ensures that a
Promote operation sends a self-contained, consistent set of changes to the destination stream. A tracking issue and the corresponding original issue(s) are connected by a change package dependency: the tracking issue depends on the original issue(s).
The best way to monitor such connections is with a Relationship field whose type is Track. (For details about Relationship fields, see
Chapter A The Schema Editor (Administrators Only).) For example, when issue #8 is viewed in an Issue form, its connection to issue #11 might be displayed like this:
As with all change package dependencies, AccuRev warns you if you attempt to promote a tracking issue without its dependencies, the original issue(s). In this situation, do NOT click Proceed. It is important to always promote both the original issue(s) and the tracking issue at the same time. So the correct procedure is to
Cancel, select both the original and tracking issues, then invoke
Promote again.
If you attempt to Promote an original issue alone, without including its tracking issue, AccuRev prompts you to promote the tracking issue as well.