How to get the recent baselines of a project in clearcase

十年热恋 提交于 2019-12-01 07:29:34

问题


Can we get the list of baselines of a project in clearcase within in a certain time period, say, last 6 months.


回答1:


The cleartool lsbl command usually lists baselines:

  • per streams
  • from the oldest to the most recent

If you can restrict your search to one stream (ct lsbl -stream ...), you need to list everything and then filter the result.
You can use the fmt option to display only the name of the baseline and its date.

 cleartool lsbl -fmt "%d %n\" -stream...

You would get results like:

2007-01-10T12:41:45+01:00 MYBL_20070110.1263
2007-01-25T16:33:13+01:00 MYBL_20070125.3901
2007-01-26T12:25:23+01:00 MYBL_20070126.7020
2007-01-31T12:21:44+01:00 MYBL_20070131.7277
2007-02-01T16:54:21+01:00 MYBL_20070201.7671

From there, you can filter and/or sort the results.



来源:https://stackoverflow.com/questions/7979347/how-to-get-the-recent-baselines-of-a-project-in-clearcase

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