How to use lscm changeset locate?
Andy Jewell (242●3●61●74)
| asked Jul 07 '14, 8:11 p.m.
edited Aug 05 '16, 3:38 p.m. by David Lafreniere (4.8k●7)
I think I know what lscm changeset locate is supposed to do -- i.e., locate changesets, but I'll be darned if a simple case doesn't work. I am trying to use the -W option to search for changesets by workitem in the "stream to search" stream. This is what I get:
c:\localpath\pep>lscm changeset locate -r local -W -w "stream to search" 5975
5975 is my selector but it won't recognize it. Am I doing something wrong?
|
Accepted answer
It is getting confused with the value provided to the options although the error message could have been better. Could you try the following: scm changeset locate -r local -W 5975 -w "stream to search" or scm changeset locate -r local -w "stream to search" -W 5975
Andy Jewell selected this answer as the correct answer
Comments
Andy Jewell
commented Jul 08 '14, 11:08 a.m.
Great, thanks! The first one worked (not the second):
scm changeset locate -v -r local -W 5975 -w "stream name"
This has probably changed in newer versions but I'd point out that the option instructions are wrong since it shows that -W is a flag option and that the selectors are arguments to the command not to the option.
But I'm happy: it's working! Thanks, Shashikant!
|
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.