如何在所有 clearcase 分支中查找用户创建的文件?

How to find files created by a user in all clearcase branches?

我必须找到特定用户创建的文件。但我需要查询所有分支。我怎样才能做到这一点。我尝试了下面的方法,它没有用。

cleartool 找到 . -type f -ver "created_by(user)" -branch brtype(*) -print

请注意 "files created by a user" 应该表示 "element",而不是版本。

查找版本会为您提供用户贡献的带有 checkout/check-in 的任何文件,即使该用户从来没有 "created" 该文件。

创建文件应该意味着将元素添加到源代码管理(并创建分支的版本 0 /mainplaceholder for referencing that file, that new element

查看所有分支(实际上是all vob)是cleartool find -all

参见“Additional examples of the cleartool find command

例如:

cleartool find -all -element "{created_by(user)}" 

将列出用户添加到源代码管理的所有元素(文件或目录)。