You can update your work area with the latest changes from any version of a stream that is associated with a work area. If there are conflicts you can resolve them by:
Choosing the item revision in the work area (Use Local).
Choosing the item revision in the repository (Use Repository).
Allowing Dimensions to attempt to automatically merge the contents provided there are no conflicts.
If a conflict includes path differences these resolutions are also available:
Use local path
Use repository path
To update a work area from a stream:
Select the project in the Solution Explorer.
On the toolbar click Update or select File | Source Control | Update. The Update Work Area from Stream wizard appears.
The Update changes from this stream box displays the name of the stream from which you invoked the update. To change the stream do one of the following:
Click Select and use the Select Stream dialog box to specify a stream and optionally a stream version.
Enter the name of a stream, and optionally a version, in this format:
PRODUCT:STREAM_NAME;VERSION
For example:
QLARIUS:JAVA_BRANCHA_STR;5
The Update this work area box displays the work area path that will be updated. To change the work area enter its path or click Select and choose an area.
To interactively (manually) verify the results of any file merge operation before applying them to the work area, select Perform an interactive update.
To restrict the update to a specific folder and its subfolders, select Limit the scope of the merge to this folder and browse to the folder, or enter its repository path. If you invoked the update operation from a subfolder, and not the root of the stream, its path is pre-populated.
Click Advanced.
To restrict the update to particular files or folders, enter wildcard filters in:
The Include repository file box to only include specific file types.
The Exclude repository file box to exclude specific file types.
For details about use wildcards see Using Wildcards to Include and Exclude Files and Folders.
To apply the repository date and time to the updated files in the work area select Apply repository date and time.
(Used when shelving a stream) To create a clean work and reset the work area to the latest repository content, select Reset work area changes to repository versions and paths. You can also choose to delete locally added files (such as artifacts added by a local build process).
Select Expand substitution variables if required.
To automatically merge local and repository files whose content does not conflict, select Auto merge non-conflicting file content. You can also select a default character set that is used to transcode Unicode files before merging.
Do one of the following:
If you are performing an interactive update click Next and go to the next step.
If you are not performing an interactive update click Update. The work area is updated and the results are displayed.
On the Review Changes page expand the folder tree to display the changes that have been identified.
On the toolbar select a resolution for each conflict.
To ignore a change click Ignore.
To use the version of the change in the work area click Use Local.
To use the version of the change in the repository click Use Repository.
If a conflict includes path differences these resolutions are also available:
Use local path
Use repository path
Your selection is displayed in the Resolution column.
CAUTION! If you select Use local or Use Repository you may discard a change that you want to keep.
To merge the content of two file revisions that are in conflict click Merge. The default merge tool opens and displays the content of the revisions. After you have completed the merge successfully and exited the merge tool, the resolution is shown as Merge.
Click Update. The results of the update operation are displayed.
Click Close.