如何使用ClearCase列出我的所有签到? [英] How to list all my check-ins using ClearCase?

查看:110
本文介绍了如何使用ClearCase列出我的所有签到?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用cleartool获取我在给定的源代码目录树中进行的所有签入的列表?如果可以的话,我想看看什么时候可以办理登机手续和文件版本。我正在使用Windows。

Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows.

谢谢。

推荐答案

这将涉及 cleartool查找 命令,其中:

This would involved a cleartool find command with:


  • 一个 -exec 指令描述找到的版本

  • a -fmt 以更好地格式结果

  • a -created_by 查询语言运算符,以将结果限制为仅签到版本。

  • an -exec directive to describe the versions found
  • a -fmt to better format the result
  • a -created_by query language operator to restrict the results to only your checkins versions.

您可以显示签入文件的所有版本,也可以显示所有签入版本的一个文件,即元素。在您的情况下,要查看签入的时间,您需要列出版本。

You can either display all versions of the checkins files, or only one file per all versions checked-in, that is the 'element'. In your case, to see when the checkin has been made, you need to list the versions.

类似以下内容:

REM Windows syntax
cleartool find . -ver "created_by(myLogin)" -exec "cleartool descr -fmt \"%En : %Sn made %Vd\n\" \"%CLEARCASE_XPN%\""

# Linux syntax
cleartool find . -ver 'created_by(myLogin)' -exec 'cleartool descr -fmt "%En : %Sn made %Vd\n" "$CLEARCASE_XPN"'

'。'将指定要从中查找版本的当前目录。

'.' will designate the current directory from which you are looking your versions.

% Sn 将为您提供branch / versionNumber,%Ln 仅会为您提供版本号。

%Sn will give you branch/versionNumber, %Ln would only give you the version number.

这篇关于如何使用ClearCase列出我的所有签到?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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