3

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

neves
  • 33,186
  • 27
  • 159
  • 192

1 Answers1

3

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".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    Just another trivial version control task that is die hard to do in ClearCase. There are just 6 files, I'll do it by hand. Thanks, @VonC. IBM should pay you a salary for answering questions about their terrible version control system. I'll accept your answer, but change if someone posts a functioning script here. – neves Oct 01 '14 at 20:55