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

scm (lscm) --xcompare (external comparison tool) option does not appear to work

 Hopefully this is just a configuration issue, but I'm unable to get the graphical comparison tool to run for scm.  

Linux, RHEL 6.1
CCM 5.0.1

Steps:
scm set pref external.compare.3way "kdiff3 \${ancestorFilePath} \${file1Path} \${file2Path} --L1 \"\${ancestorFileTitle}\" --L2 \"\${file1Title}\" --L3 \"\${file2Title}\" --output \${mergeFilePath}"
scm set pref external.compare.2way "kdiff3 \${file1Path} \${file2Path} --L1 \"\${file1Title}\" --L2 \"\${file2Title}\" --output \${mergeFilePath}"
 scm diff -r local --xcompare -w 1007 -c 1009 baseline 1257 baseline 1200 --show c

The differences are displayed to the screen versus using kdiff3.  

I see nothing of relevance in any log file (had log set to FINEST).  I replaced kdiff3 with a personal script and confirmed it was never even attempted to be executed.

What else is required to get the external compare tool to work. Also, is there a way to use this within Eclipse? I see the external compare tool settings, but there doesn't appear to be a way to use it for compare baselines (only files).

Thanks!
Brett



0 votes


Accepted answer

Permanent link
The scm diff command with --xcompare option currently supports only diff for unresolved local files. The command should have thrown an error informing the user about it or the help should have mentioned it. Please raise a defect.

Brett Waldo selected this answer as the correct answer

0 votes

Comments

 Thanks. Defect  341132 created.

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
× 1,201
× 158
× 8

Question asked: Dec 16 '14, 5:57 p.m.

Question was seen: 4,492 times

Last updated: Dec 18 '14, 11:37 a.m.

Confirmation Cancel Confirm