Jump to content

how to create diff in patch file format using 'cm'


abhiravk

Recommended Posts

Hi,

 

How can I create a diff file using command line tool ('cm')?

 

cm diff command only show that the name of the file.

> cm diff cs:277 cs:279

> C "/home/abhiravk/workspace/plastic/fandu/ignore.conf"

 

Moreover '--all' option doesn't work with 'diff' command; maybe it is applied by default.

> cm diff cs:277 cs:279 --all

> diff: Unexpected option --all
 
 
Regards,
Abhirav Kushwaha
Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...

I ended up with this in client.conf

    <DiffToolData>
      <FileType>enTextFile</FileType>
      <FileExtensions>*</FileExtensions>
      <Tools>
        <string>diff -u @sourcefile @destinationfile</string>
      </Tools>
    </DiffToolData>

But that affects all diffs, not just "cm diff"

Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...

Hi PSCM dev team,

 

Please, we need such a feature. We can have the diff list between 2 changesets/ labels but nothing to convert this information into a patch file. Any news about this (roadmap, labs version,...) ?

Note : I already added my 3 votes on the appropriate uservoice thread.

 

Regards,

 

hlx

Link to comment
Share on other sites

  • 2 weeks later...

Hi all,

 

I work on a development project and it needs a file containing differences between two changeset. So I need such a feature.

Thank you for keeping me informed of the progress of this project

 

Yours faithfully,

 

ThiL

Link to comment
Share on other sites

  • 1 month later...

Hi all,

 

Since the patch feature seems not to be planned for now, I would like to know if adding an "export view data" command/GUI button in the diff changeset window could be doable ? Using the exported xml file could be a good stating point.
 

Regards

 

Hlx

Link to comment
Share on other sites

  • 3 years later...
  • 9 months later...

Archived

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

×
×
  • Create New...