Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Finding common ancestor of a file using RTC CLI

Without bringing RTC Eclipse client into the picture, I would like to invoke an external merge tool (kdiff3) to resolve conflicting merges when accepting incoming changes into an RTC repository workspace.  To get a local copy of the file in the incoming changeset, I plan to use scm changeset extract. How would I get the common ancestor version?

0 votes


Accepted answer

Permanent link
When you have a conflict, you should be able to get the ancestor using 'scm conflicts --ancestor {filepath} --content' or just 'scm conflicts --ancestor {filepath}' depending on which version of RTC you are using. For now it will display on the console but you can pipe the output to a file.
Praveen Mohandas selected this answer as the correct answer

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202
× 158
× 113
× 87

Question asked: Nov 04 '13, 3:17 p.m.

Question was seen: 5,877 times

Last updated: Dec 16 '13, 4:19 p.m.

Confirmation Cancel Confirm