ClearTool:查找特定日期的更改 [英] ClearTool: Finding changes from specific date
问题描述
我不知道如何
- 列出从分支 删除的所有文件和目录 xyz在
日期3月1日。 - 列出当天更改内容的所有目录。
- list all files and directores that were deleted from branch "xyz" on date Mar-1.
- List all directories that had their contents changed on that same day.
我尝试从 Cleartool-查找来自以下位置的已卸载文件中转录模式分支到日期,没有成功。
I tried transcribe the patterns from Cleartool - find unloaded/removed files from branches to dates, with no success.
感谢一百万
Adam
推荐答案
我在 清除工具-查找卸载/删除的查找命令中提到的查找命令文件仅适用于文件。
如果使用型d
(而不是型f
)
但这不能解决日期问题。
But that wouldn't address the date issue.
由于文件删除会导致新的目录版本(以记录该删除),因此我将搜索创建的所有目录版本在当天:
since a file deletion results in a new directory version (to record that deletion), I would search for all directory versions created on that day:
cleartool find . -type d -version 'created_since(01-Mar) && !created_since(02-Mar)' -print
然后,我将与以前的版本进行比较( cleartool diff -previous
)找到的每个目录版本,以便grep并列出已删除的文件。
Then, I would compare with previous versions (cleartool diff -previous
) for each of those directory version found, in order to grep and list the deleted files.
这篇关于ClearTool:查找特定日期的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!