Finding common ancestor of a file using RTC CLI
![]()
Praveen Mohandas (15●2●3)
| asked Nov 04 '13, 3:17 p.m.
retagged Dec 16 '13, 4:19 p.m. by David Lafreniere (4.8k●7)
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?
|
Accepted answer
![]()
Shashikant Padur (4.3k●2●7)
| answered Nov 05 '13, 4:11 a.m.
JAZZ DEVELOPER edited Nov 11 '13, 2:08 p.m. by Geoffrey Clemm (30.1k●3●30●35)
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
|
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.