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

Show history in RTC 4.0.5 command line client

Hi,

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.


0 votes


Accepted answer

Permanent link
 I believe you are hitting defect https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=290344

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

0 votes


One other answer

Permanent link
Thanks, workaround works. 

0 votes


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
× 12,023

Question asked: Feb 26 '14, 1:12 p.m.

Question was seen: 5,822 times

Last updated: Feb 27 '14, 5:03 a.m.

Confirmation Cancel Confirm