The Active Issues tab (also referred to as "
Stream Issues") displays a table in the upper pane showing the issue records that are in a particular stream. The lower pane displays the entries in a selected issue record's change package.
To open an Active Issues tab, showing the contents of a stream in terms of change packages: choose
Show Active Issues from the context menu of any stream, or snapshot, or workspace in the Stream Browser, or from the
Actions menu in the Stream Browser toolbar.
Note: You can display a subset of the Show Active Issues tab by clicking the
icon under or next to the stream box. You display this icon by clicking the issue record icon on the Stream Browser toolbar..
The Show Active, Include Incomplete Issues, and
Include Child Streams check boxes appear at the bottom of the Issues pane and control which issues are displayed.
(Available only if Show Active is checked) If checked, displays issues that are in the streams below the selected stream. This can be helpful when tracking down streams or workspaces that may be responsible for incomplete change packages or unaffiliated changes.
Stream Issues tab (enabled only if
Show Active is set and
Show Incomplete is cleared): promotes each currently-active head version in the issue's change package to the parent stream. That is, if a version listed in the Version column is currently active in the stream on which you invoked the
Show Issues command, that version is promoted to the parent stream.
Invoking the Promote command on issue #7 causes some or all these versions to be promoted. The versions promoted are the ones that are currently in the workspace's default group:
Stream Diff (Issues) tab (works only for issues in the source stream, not for issues in the destination stream): promotes each currently-active head version in the issue's change package from the source stream to the destination stream. If there is an overlap between the two streams for any element, the promote operation fails with a "merge required" error box.
(enabled only if Show Active is set and
Show Incomplete is cleared) Opens a Change Palette tab, containing each head version in the issue's change package.
(Formerly named Revert by Change Package.) Removes the changes in the selected issue's change package from the stream. A dialog appears offering you two options for performing this operation:
•
|
Use a workspace to perform revert — Choose this option if you wish to test the results of the revert before promoting them back into the stream. You must choose a workspace to which you have access to perform the revert. (All workspace appear in the selection list. If you select a workspace to which you do not have access, AccuRev will display an error). The revert operation typically involves one or more reverse patch operations on file elements' contents, performed with the Merge tool.
|
After you have reverted a change package, the issue remains active in the stream until you promote the changes you performed in the workspace. A special variant of the issue appears in red in the workspace Active Issue display, as shown in the following example. (The image has been modified to show both Active Issue displays simultaneously.)
Important: If no valid workspaces exist, this dialog is bypassed and you are prompted whether or not to proceed without a workspace (see below). A "valid" workspace is one of your own workspaces which has local (or accessible mounted) storage on the machine that the
revert is being performed from. If none of your workspaces are attached to the stream the issue is being
reverted from, or for some reason are not accessible from the machine that the client is running on, you can still proceed with the revert, keeping the new file versions directly in the stream. However, AccuRev warns you that this is what happening if you choose to proceed with the
revert operation.
Note: This feature is not intended to be used
within a workspace; it is meant to be executed within a stream, but with the aid of a workspace to perform any necessary
Merge operations. If you try to execute this operation directly within a workspace, AccuRev returns the following error message: "You need to have at least one workspace associated with stream..." Try the following workaround:
3.
|
Invoke the Revert Change Package Using Workspace command on that issue in the new stream.
|
•
|
Continue revert operation without using a workspace — Similar to Use a workspace to peform revert, except that the results are placed directly in the stream, without the requirement of a workspace. This means that the results of the revert will be immediately propagated downstream in the hierarchy.
|
Important: If no workspaces to which you have access exist, the dialog described above is bypassed and you are simply prompted whether or not to proceed without a workspace.
Note: Continue revert operation without using a workspace saves the step of merging and testing the revert in a workspace and then promoting the changes, but at the risk of propagating the changes as soon as the revert has been completed. This feature should not be used casually by developers, as you could easily propagate complex, untested changes to other users. This feature is useful for reverting relatively simple changes, or for backing out a change in an isolated build stream. AccuRev recommends that you build and test these changes in an updated workspace to verify the results, before promoting or cross-promoting the changes to other users.
Opens an Issue Dependencies tab, displaying the change package dependencies of the selected issue record(s).
Windows: Run the appropriate command on the file, according to its file type. (The Windows file-typing system — "file associations" — does not provide for assigning a file type if the filename has no suffix.)
UNIX: Open a text editor on the file.
Open a History Browser tab, containing the transactions involving the selected file or directory.
Open a Version Browser tab, showing all the versions of the selected file or directory, and their interrelationships (ancestry).
Although most change package-related functionality is concentrated in the Active Issues tab, you should be aware of the
show current change package control in the
Active Transactions tab.
When the show current change package checkbox is selected (the default setting), the lower pane, which shows the change package details for the selected transaction, reflects the change package contents at the current time. In the following illustration, for example,
file_001.c and
file_200.txt are both associated with Issue #21.
However, what if file_200.txt was removed from Issue #21’s change package at some point
after the selected transaction? With the
show current change package checkbox selected, Issue #21 disappears from the
Issues column of
file_200.txt in the lower pane.
This is because, at the current time,
file_200.txt is no longer associated with Issue #21’s change package. If you wanted to see the file’s change package association at the time of the selected transaction, you would clear the
show current change package checkbox.