Display Current Baseline with Cleartool

拈花ヽ惹草 提交于 2019-12-17 20:39:50

问题


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.


回答1:


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).




回答2:


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"


来源:https://stackoverflow.com/questions/5897978/display-current-baseline-with-cleartool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!