Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding Changed files in a ClearCase folder

Tags:

file

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.

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?

like image 771
MikeTWebb Avatar asked Aug 06 '10 14:08

MikeTWebb


1 Answers

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.

Note: remove the '-r' option if you only want the check-out files of the current directory (and not its sub-directories)

like image 170
VonC Avatar answered Sep 19 '22 13:09

VonC