ClearCase; How to make a baseline with cleartool

baseline, clearcase, cleartool

Solution

The basic command, from `cleartool man mkbl`:

 cleartool mkbl -view anUCMView aBaselineName

You need a view associated to your target Stream to apply the baseline. I recommend using the `-full` option, in order to create a full baseline (rather than an incremental one by default).

Using a snapshot or a dynamic view for `mkbl` shouldn't make a difference, but I like working in a snapshot view, and setting my baselines in a dynamic view (in which I am sure I don't have any pending checkouts).

See:

- "What is the difference between Full baseline and Incremental baseline in Clearcase UCM?".

- "How to apply baseline only to a particular component?" if you need to limit it to one component.

Note: this is for a full ClearCase installation, not CCRC (ClearCase Remote Client).

Problem

I am currently using ClearCase over a remote network and it is painfully slow. It takes forever just to browse to the stream that I want to make a baseline of. Is there a quick, easy, and safe way to make a baseline from the cleartool interface of a specific stream? Thanks, Ian

Original source

Related problems