带有经典ClearCase的主命令是cleartool annotate
(您也有some alternatives)。
这不完全像git blame -L
,因为你不能限制到文件的一部分。
与长格式,将给予:
cleartool annotate -long msg.c
Annotated result written to "msg.c.ann".
type msg.c.ann
02-Apr-99.10:51:54 ##### Steve ([email protected])\main\rel2_bugfix\1
a test
.
.
.
-------------------------------------------------
-------------------------------------------------
##### 01-Apr-99.16:19:25 scd \main\1 | #include "hello.h"
##### 02-Apr-99.10:51:54 scd \main\rel2_bugfix\1 | /* a test */
##### 01-Apr-99.16:19:25 scd \main\1 |
.
.
.
##### . |char *
##### . | hello_msg() {
这适用于一个文件(或文件列表用空格隔开)
CR是否意味着变更请求?你使用UCM吗? –
CR表示变更请求,它以明文形式有效分支并由clearquest生成。我认为UCM不适用于我的情况。 @ Tamir-Gefen –