在ClearCase文件夹中查找更改的文件 [英] Finding Changed files in a ClearCase folder
问题描述
我在ClearCase中有一个包含大量报告的文件夹。
我已检查了所有报告,因为我需要进行彻底更改。
我已更改一组报告,现在要部署此组。
I have a Folder in ClearCase that contains a large list of Reports.
I have checked all the Reports out because I need to make a sweeping change.
I have changed a set of the Reports and now want to deploy this set.
我大概应该一次检查一份报告文件,然后在完成后分别部署。
但是,由于我没有这样做那样,有没有办法检查包含已检出报告列表的ClearCase文件夹,以查看哪些已更改,哪些未更改?
I probably should have checked the Report files out one at a time and then deployed each as I finished.
But, since I did not do that, is there a way to inspect the ClearCase folder that contains the List of checked out Reports to see which ones have changed and which ones have not?
推荐答案
您可以要求cleartool与以前的版本进行比较:
You could ask cleartool for a diff with the previous version:
cleartool lsco -r -cvi -fmt "diff -options \"-hea\" -pred \"%n\"\n" | cleartool | grep ">>>"
这将为您提供当前检出的修改文件的列表。
That would give you the list of currently checked-out modified files.
注意:如果只希望当前目录的检出文件,请删除' -r
'选项(而不是其子目录)
Note: remove the '-r
' option if you only want the check-out files of the current directory (and not its sub-directories)
这篇关于在ClearCase文件夹中查找更改的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!