Jump to content

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


Recommended Posts



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
Abhirav Kushwaha
Link to comment
Share on other sites

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

I ended up with this in client.conf

        <string>diff -u @sourcefile @destinationfile</string>

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.





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,



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.




Link to comment
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...