Error in SCM compare command
![](http://jazz.net/_images/myphoto/be8f3bcfe08d4ccf657a81a61fdfba47.jpg)
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.
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
![](http://jazz.net/_images/myphoto/be8f3bcfe08d4ccf657a81a61fdfba47.jpg)
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.