简体   繁体   中英

ClearCase: how to generate a patch (unified diff) file from an activity?

Is it possible to generate an patch file from the changeset of a UCM Activity in ClearCase?

I can generate the list of changes this way: cleartool lsactivity -l activity:my_activity_name

The main approach is list all the files within an activity, and use cleartool diff -pred -diff_format in order to generate a diff.

With the -diff_format option, you would get headers and differences in the same style as the UNIX and Linux diff utility.

But that would require some scripting, as I mentioned in " Change set predecessor using cleartool ".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM