How to get the recent baselines of a project in clearcase

后端 未结 1 1297
一生所求
一生所求 2021-01-15 13:46

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

相关标签:
1条回答
  • 2021-01-15 14:22

    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.

    0 讨论(0)
提交回复
热议问题