Jump to content

Can I export a summary of differences?


pab233

Recommended Posts

Hi,

 

When doing a "Diff between ..." of either a branch or a change set, is there any way that I can export the output to be used in a report?

 

To explain, the software I am writing needs to be approved by a government department.  Whenever the software is changed, we have to provide the revised source code, an explanation of what changes were made, and a differences report, ie a line by line comparison of what has changed between the old code and the new code.

 

And no, getting them to do the diff themselves is not acceptable.  We have to supply the differences list.

 

So, is there any way I can get the difference report in a usable format?  I am using 4.1.10.450 - Oporto.

 

Cheers

Paul

Link to comment
Share on other sites

Hi Paul,

 

yes, you can use the command line to get the differences of a branch or a changeset.

 

Let's see an example for a changeset, you have two options:

 

1)      cm diff cs:11@repo@server:port

2)      cm find "revisions where changeset=11 on repository ‘repo@server:port’”

 

For both commands you can use format rules, so for example you can get only the owner by: --format={owner}

 

You can review the full list of --format fields in the cm find help: http://plasticscm.com/guides/cmfind/main.shtml

The cm find format fields are the same for the cm diff command.

 

Please tell me if you need any example.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...