Sunday, December 13, 2009

Compare content of two project versions (Synergy work tip)

Update:
To ease the review you may want to grep all the different lines in the diff output (first command):
ccm diff -p Proj#Version1:project:1 Proj#Version2:project:1|egrep '>|<|\|'
This will give you the list of differences between two projects.
~~~~~
The predecessors of the Proj#Version1 is Proj#Version2.
There are two diffs you may run on the project objects:
ccm diff -p Proj#Version2:project:1 Proj#Version1:project:1
and
ccm diff -p -vc Proj#Version2:project:1 Proj#Version1:project:1

In the first case the list of the versioned objects is compared, so you get the result in the following form (example below):
In the second case the version compare is performed.
I suggest you run two commands and examine the output to see if you get what you are looking for.

~~~~~~~~~~

The motivation is to see all the changes that went into this project.

So basically I need a diff between this project baseline and the latest.

If there Is a way to ignore “syncs” it would be nice.

Synergy allows a comparison of just about any two objects, projects included. And the CLI version of every command is there for you, just ask.

No comments:

Post a Comment