Examples of selecting versions with filters

The following examples show Rational® ClearCase® version trees after different types of filters are applied.
Note: Versions are always selected back to /main/0, regardless of filter choice.

Original version tree in Rational ClearCase

In this example, you export a file with a version tree that is in the Rational ClearCase system.

Original version tree in Rational ClearCase

You export the file in three views that select the following versions:
  • view1 : /main/7
  • view2 : /main/BR1/2
  • view3 : /main/4

The following examples show which versions are migrated, and how the predecessors and merge hyperlinks are set up for every filter option.

Selecting versions by view

Selecting versions by view is the most extreme way of filtering because you select views only without the history.

Use the ccc export ccase --noHistory command.

In the following example, versions are selected by three views:

Three views are selected

Selecting versions by views and their predecessors

You can select versions by views and include all of the direct ancestors.

Use the ccc export ccase --noMergePredecessors command.

In the following example, versions are selected by three views, along with their predecessors:

Three views are selected with predecessors

Selecting versions by views, predecessors, and merge sources

You can select versions by views and include all direct ancestors and merge sources. This type of filtering selects the most versions.

Use the ccc export ccase --onlyPredecessors command.

In the following example, versions are selected by three views, along with their predecessors and merge sources:

Three views are selected with predecessors and merge sources

Selecting versions on non-obsolete branches or branch types

You can select versions by including those versions on non-obsolete branches or branch types only.

Use the ccc export ccase --noObsoleteBranches command.

In the first example, versions are selected by three views and include only those branches that are not obsolete. BR2 is obsolete, and, therefore, not selected:

Three views where only non-obsolete branch types are selected (BR2 is obsolete).

In the second example, BR1 is obsolete, and, therefore, not selected.
Note: The version /main/BR1/2 is still selected because View 2 selects the version.

Three views where only non-obsolete branch types are selected (BR1 is obsolete).

Selecting versions created since a specific date

You can select versions that are created since a specific time.

Use the ccc export ccase --since <date> command.

In the following example, versions are selected by three views and include only those versions newer than a specific time. (For example, seven-years old or less.) The black, dashed line represents the specific time:

Versions are selected by three views but only include versions after a specific time.


video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki