Work with changesets in Visual Studio

This topic describes how to work with changesets in the Visual Studio IDE.

Inspect changeset health

The changeset health is indicated by an icon. For details, see About changesets.

For details on how to configure and use changesets, see PulseUno.

Note: You can use PulseUno functionality only if it is enabled in your Dimensions CM database.

To inspect changesets:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets. The health icon is displayed on the left.
  2. To open the review associated with a changeset, right-click and select Open Review. The review opens in a new view.
  3. To view a changeset’s details, right-click and select Open Details. The changeset opens in a new view.

Back to top

View changes to a stream

You can view the history of changes that have been applied to items and folders in a stream or project in a repository.

You can also apply filters to limit the changes that are displayed.

To view the change history:

  1. Do one of the following:

    • In Dimensions Explorer, expand a node that has an open connection, and click Changesets.
    • In the Dimensions Projects view, right-click a project or stream, and select Changesets.
    • In Solution Explorer right-click a Visual Studio project and select Folder Changesets. To limit the list of changesets that is displayed, right-click a subfolder.

    The list of changesets is displayed in a new view. If you change connections in Dimensions Explorer to a different repository, the content of the view automatically changes.

  2. To filter the view, select an attribute type from the Filter list, and enter a value in the Filter box.

    For example, select Request(s) as a filtering attribute and enter a request type, such as ENH.

  3. To filter the view by a date range do one or both of the following:

    • To display entries from a specified date, select the From option and specify the date.
    • To display entries up to a specified date, select the To option and specify the date.

Back to top

Update a work area from a stream version

You can update a local work area from a specific version of a project or stream. This option is available only when the controlled solution is opened.

To update a work area from a project/stream version:

  1. In the Dimensions Projects view, right-click a project or stream, and select Changesets.
  2. Right-click the top level of the changeset from which you want to update a work area and select Update from Stream Version or Update from Project Version.

    The Update Stream dialog box opens, and the stream ID and version are displayed in the Update changes from this stream box. For details, see Update a work area from a stream.

Back to top

Create a project/stream from a stream version

You can base a new stream or project on a specific version of a stream or project.

To create a new stream or project:

  1. In the Dimensions Projects view, right-click a project or stream, and select Changesets.
  2. Right-click the changeset on which you want to base the new project or stream and select New Stream or New Project.

  3. Complete the Create Stream wizard. For details, see Create and view projects and streams.

    Alternatively, you can use the Create Project wizard. For details, see Create and view projects and streams.

    The stream/project ID and version number are displayed in the Based on Stream/Project field.

Back to top

Open related changeset requests

You can open the requests related to a changeset.

To open related requests:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets.
  2. Select a changeset. Alternatively, expand a changeset and select one of its items.
  3. Right-click the changeset or its item and select Open Related Requests. If there are multiple related requests, select the relevant request.

    A Dimensions CM request opens in a new tab.

    An external request opens in its provider instance.

Back to top

Compare changeset items

You can compare a changeset item with:

  • Another revision of the same item.
  • A work file on disk. This option is available only when the corresponding file exists on disk and is part of the currently open solution.
  • Another item revision in the repository.

To compare items:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets.
  2. Right-click a new, imported, or modified item, and select the following:

    Action Details

    To compare with the previous revision (if one exists).

    Select Compare with <item revision>.

    To compare the revision with a different revision of the same item.

    1. Select Compare with.
    2. In the Compare Items dialog box, select a revision from select it from the Another Revision list.

    To compare the revision with a file in your work area.

    1. Select Compare with.
    2. In the Compare Items dialog box, select A workfile.
    3. Click the Browse button and navigate to the file.

    To compare the revision with a revision of a different item in the repository.

    1. Select Compare with.
    2. In the Compare Items dialog box, select Another item.

    3. Click the Browse button and search for an item in the Select Item dialog box.

  3. Click OK.

    The items are opened in the default merge tool.

Back to top

Explore a changeset item

You can view the revision history and the pedigree of a changeset item. You can also browse the content of a changeset item.

To explore a changeset item:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets.
  2. To view the history, right-click an item and select History. The item revision history is displayed in a new tab.
  3. To view the pedigree, right-click an item and select Pedigree.The item pedigree is displayed in a new tab.
  4. To browse the content of an item revision, right-click the item and select View Revision. The revision is displayed in a new tab.

Back to top

Open the changesets graph

To visualize your streams of development and changesets, open the Changesets Graph in PulseUno.

Note: You can use PulseUno functionality only if it is enabled in your Dimensions CM database.

To open the changesets graph:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets.
  2. Right-click a changeset and select Open in PulseUno. PulseUno opens in a new view.
  3. Log in if required.
  4. Click Repository and select a repository from the list.
  5. Click Changeset Graph.

For details about PulseUno, see PulseUno.

Back to top

Customize the changeset view

You can customize and rearrange the columns displayed in the Changesets view. Customizations are saved to the registry and shared with the desktop client.

To customize the Changesets view:

  1. In Dimensions Explorer, select Changesets. The Changesets view opens, displaying a list of changesets.
  2. In the Changesets view, right-click any column heading. The Customization dialog box opens.
  3. Drag and drop columns between the dialog box and the columns heading row.
  4. Drag and drop columns to change their position.

    Note: You cannot move the Type column.

Back to top

See also: