如何以明文形式获取项目的最新基准 [英] How to get the recent baselines of a project in clearcase

查看:55
本文介绍了如何以明文形式获取项目的最新基准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们能否在特定时间段(例如最近6个月)内以透明的形式获得项目的基准列表。

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

推荐答案

cleartool lsbl 命令通常会列出基线:

The cleartool lsbl command usually lists baselines:


  • 每个流

  • 从最早到最新

如果您可以将搜索限制为一个流( ct lsbl -stream ... ),则需要列出所有内容,然后过滤结果。

您可以使用 fmt选项显示

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

您将获得结果ts:

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.

这篇关于如何以明文形式获取项目的最新基准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆