Recursive checkin using Clearcase

I would recommend this question: Now the problem is to checkin everything that has changed. It is problematic since often not everything has changed, and ClearCase will trigger an error message when trying to check in an identical file. Meaning you will need 2 commands: ct lsco -r -cvi -fmt “ci -nc \”%n\”\n” | ct … Read more

How do I create a snapshot view of some project or stream in ClearCase?

2… 1 cleartool descr -l project:myProject@\myPVob with some grep, you have the list of components (writable or not) and policies. If you want only the Streams: cleartool lsproj -tree myProject@\myPVob You can repeat that for a Stream (to get the sub-streams) cleartool lsstream -tree myStream@\myPVob For the foundation baselines of a Stream: cleartool descr -fmt … Read more

How to obtain UCM stream and baseline with cleartool?

If you are in a view, you can: get the current stream cleartool lsstream -cview get all baselines for a component in that stream cleartool lsbl -comp myComp@\myPVob -stream myStream@\myPVob get all foundation baselines for that stream cleartool descr -fmt “%[found_bls]CXp” stream:myStream@\myPVob Don’t forget that in a view on a stream with a modifiable component, … Read more

How do I roll back a file checked in to Clearcase?

What is described by skwllsp can be be done in a dynamic view through the use of extended pathnames cd m:/myDynamicView/MyVob/path/to/file cleartool lsvtree myFile cleartool checkout -c “cancel co” myFile copy myFile@@/main/xx myFile cleartool checkin -nc myFile with xx being the version number you want to restore. But should you have made multiple checkins, including … Read more

What is composite baseline in UCM and when it will be used?

The reference on “composite Baselines” is: “Best practices for using composite baselines in UCM”. Introduced in ClearCase v2002, composite baselines are a mechanism for grouping baselines into a collection. One baseline is designated as the composite, and other baselines become members of the composite You do not necessarily have to use composite baselines when you … Read more

Integration stream vs integration view in ClearCase

Integration is a term used by convention to designate the first root stream of an UCM project. Each UCM project has one root stream (and potentially many sub-streams). The idea is that you will use your integration view as the destination view for deliver coming from sub-streams, effectively “integrated” the work done on said sub-streams … Read more

Clearcase Issue [closed]

individual stream for each developer under DV stream WhoĆ¢t???? This is SPARTA! (err… no: madness: this is madness) A stream represents a development effort, not a sandbox for a “resource” (i.e. “a developer”). Resources come and go, development tasks stay. You should have a stream per development line, upon which many developers create their own … Read more