sonofdelphi
sonofdelphi

Reputation: 2036

Display Current Baseline with Cleartool

How can I view the baseline on which the current view is based?

I could find information only on how to view the currently recommended baseline for a stream

cleartool desc -fmt %[rec_bls]CXp stream:myProject_Int@\myProject_pvob
#This gives the currently recommended baseline for the stream

Basically what I am looking to do is update the Build Notes. 1. Determine the baseline on which the last rebase was done 2. Determine the current recommended 3. Make a list of activities that have been delivered.

I was able to find the information to do steps 2 and 3, but not for step 1. Maybe I'm not using the right term for the search...please help.

Upvotes: 3

Views: 10391

Answers (2)

craigdfrench
craigdfrench

Reputation: 970

Building on the excellent answer from @VonC, from anywhere within your view you can combine the steps into a one liner.

cleartool lsstream -cview -fmt "%[found_bls]CXp"

Upvotes: 3

VonC
VonC

Reputation: 1323593

You could describe the Stream in order to get the foundation baselines:

cleartool descr -fmt "%[found_bls]CXp" stream:myStream@\myPVob

(knowing that you can get the stream name of the current view
with a simple "cleartool lsstream -cview" executed anywhere within your view).

Upvotes: 6

Related Questions