It's all about the answers!

Ask a question

Show history in RTC 4.0.5 command line client

Dɐvid Benǝda (14147) | asked Feb 26 '14, 1:12 p.m.


I'm trying to use a command 

scm.exe -u y -a n show history -m 99 -r <repo> --remotePath -w <ws> --component <comp> file.txt

but I'm getting an error message "Problem running 'show history': Workspace, Component and file path must be specified when using -R/--remotePath option. Try 'scm help show history' for more information."

In RTC client 4.0.2 it was working, am I something missing or is there some trick to make it run again? Thanks. D.

Accepted answer

permanent link
Shashikant Padur (4.2k27) | answered Feb 26 '14, 11:18 p.m.
 I believe you are hitting defect

This was fixed in 4.0.6. There was a change made to make the component short option consistent with rest of the commands i.e., change -c to -C. This caused the issue.
To workaround this issue, instead of the long option use both the short options together. For ex:
scm.exe -u y -a n show history -m 99 -r <repo> --remotePath -w <ws> -c <comp> -C <comp> file.txt
Dɐvid Benǝda selected this answer as the correct answer

One other answer

permanent link
Dɐvid Benǝda (14147) | answered Feb 27 '14, 5:02 a.m.
edited Feb 27 '14, 5:03 a.m.
Thanks, workaround works. 

Your answer

Register or to post your answer.