cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to view identical members on trunk and branch

ssadineni
2-Guest

How to view identical members on trunk and branch

Hi There,

We are merging code from Trunk to the Branch, and few of the members on the branch are identical to the trunk members, so we want to find out how many branch members are identical to the trunk and update the member revision on the trunk.

Is there anyway we can run a query to view the all identical members on trunk and branch ?

2 REPLIES 2

You could try something like

C:\sandboxes\myproject_trunk>si print | sort > ..\myproject_trunk.txt

C:\sandboxes\myproject_branch>si print | sort > ..\myproject_branch.txt

C:\sandboxes> si difffiles --gui myproject_trunk.txt myproject_branch.txt

From the gui I would checkpoint trunk (mainline) and branch (variant) and compare

the two checkpoints with "View Project Differences" in the project history view.

To find the checkpoints easier I would provide checkpoint labels like 20151102_TRUNK and 20151102_BRANCH.

This of course shows different members, but the identical are simple the remaining ones.

Anyhow I did not understand why you are interested in identical members when performing a merge task.

KaelLizak
14-Alexandrite
(To:kthierer)

Hello Shashikanth Sadineni‌,

Did Klaus' answer solve your problem, or was it at all helpful?

I'm also curious to know what your interest is in identical members in this scenario.

Regards,
Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
Top Tags