problem using the lscm get change command
samuel wang (32●19●23)
| asked Apr 16 '14, 4:09 p.m.
edited Apr 16 '14, 7:03 p.m. by Geoffrey Clemm (30.1k●3●30●35) I am testing the commands of the RTC client, problem I have: 1. Not able to get data as expected when using command: “lscm get change …” , need some examples. See the results below when using this command
2. Is it possible to get data from stream directly by using command line or Java API?
3. Is it possible to automatically update my workspace in RTC server side when there is change(checked in by other team members) in the stream, if so, how to configure the server to do that?
Another question is about the server console,
Not able to get email notification while creating new userId in the server admin console after re-installing RTC server, the password generated by server is in the email, so the new userId cannot be used, I was able to do.
Problem running 'get change':
C:\dataRTC>lscm load -r https://ahivas02498.ahi.ford.com:9443/ccm -u admin -P ad
C:\dataRTC\RTCProjectArea Default Component>lscm get change -o 1014 *.* *.*
C:\dataRTC\RTCProjectArea Default Component>lscm get change -o 1017 *.* *.*
after delete files in local workspace, not able to get data using this command.
|
2 answers
Shashikant Padur (4.3k●2●7)
| answered Apr 18 '14, 6:37 a.m.
JAZZ DEVELOPER edited Apr 18 '14, 6:38 a.m.
'lscm get change' is used to get individual changes from the change set.
For ex:
List the components of a stream:
$ lscm ls comp "Test 3.0.1.5"
Workspace: (1019) "Test 3.0.1.5"
Component: (1020) "Comp1"
Component: (1022) "Comp2"
Show history of "Comp1" in workspace "Test 3.0.1.5":
$ lscm show history -w 1019 -C 1020
Change sets:
(1058) ----$ Sridevi Sangaiah "<No comment>" 03-May-2013 02:51 PM
(1059) ----$ Sridevi Sangaiah "<No comment>" 03-May-2013 02:47 PM
(1060) ----$ Sridevi Sangaiah "initial share" 03-May-2013 01:34 PM
(1061) ----$ Sridevi Sangaiah "Initial for Comp1" 03-May-2013 01:30 PM
List the changes of the last change set in history:
$ lscm ls changes 1058 -w 1019
Change sets:
(1058) ----$ Sridevi Sangaiah "<No comment>"
Component: (1020) "Comp1"
Modified: 03-May-2013 02:51 PM
Changes:
---c- (1062) /comp1/file1.txt
---c- (1063) /comp1/file2.txt
Get the file from the change set:
$ lscm get change 1058 comp1/file1.txt /tmp/file1.txt
Successfully extracted file to "/tmp/file1.txt".
Alternatively you can specify the alias of the change in the change set:
$ lscm get change 1058 1062 /tmp/file1.txt
Successfully extracted file to "/tmp/file1.txt".
|
You cannot configure the server to automatically update a workspace when there are changes. It is an odd thing to do because it may unintentionally put a sandbox out-of-sync when the repository workspace backing it changes without the sandbox owner doing anything.
You should open another question about your email issue. That isn't related to the command line and will get more attention as a separate question. |
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.