It's all about the answers!

Ask a question

Error in SCM compare command


Ian Hodges (271013) | asked Apr 11 '12, 8:06 a.m.
Hi,

Running the following SCM command I get an error:

scm compare stream BSF stream INC
Problem running 'compare':
subcommand "compare" requires argument-based initialization, but does not provide a directory argument.

SCM version is:
scm --version
com.ibm.team.filesystem.cli.client, version 3.0.2.v20110831_0247

Server version 3.0.1.1

Please could you tell me how to progress, from the error I can not determine what the problem is.

Thanks and regards,
Ian Hodges.

2 answers



permanent link
Tim Mok (6.6k38) | answered Apr 11 '12, 9:51 a.m.
JAZZ DEVELOPER
I believe you have to specify the repository. The error message doesn't make it clear what went wrong.

I've opened https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/206055

permanent link
Ian Hodges (271013) | answered Apr 11 '12, 11:29 a.m.
I believe you have to specify the repository. The error message doesn't make it clear what went wrong.

I've opened https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/206055


Interesting! Thanks. I had removed the --repository-uri because this was giving me an error that I was already logged on, which was true so why the error. Having investigated this some more it was due to a casing problem. The SCM compare snapshot (and create snapshot) are giving an error stating already logged on due to a casing error. ihodges@uk.ibm.com vs IHODGES@uk.ibm.com. SCM load/accept etc do not worry about the casing difference.

Your answer


Register or 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.