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

How to use lscm to list full path of files in a delivered/outgoing changeset?

We have just moved from another source control to RTC 3.0. (we use Visual Studio plugin to connect to the same)

I am trying to create a commandline script which gets us the list of files which are part of a changeset (outgoing/delivered). I need the full path to the files relative to the root, however looks like the list changeset commands gets only the filename as shown below

Change sets:
  (1021)  ---@ user name <No comment>
    Component: (1000) "myapp"
    Modified: 5:09 PM (5 minutes ago)
    Changes:
      ---c- (1022) \<unresolved>\modifiedfile.txt

0 votes



One answer

Permanent link
 Hi Arun,  you can use the -C option on scm status. 
-C [--xchangeset] Expands change sets to display changes and work items
 
For example:
D:\rtcinstalls\RTC-Client-Win-3.0.1.5\jazz\scmtools\eclipse>scm status -C
Workspace: (1057) "JCBRM" <-> (1041) "BRM Stream"
  Component: (1043) "Banking Logic" <-> (1041) "BRM Stream"
    Baseline: (1044) 4 "Sprint 1 (Release 1.0)"
    Outgoing:
      Change sets:
        (1069)  *--@  <No comment>
          Changes:
            --a-- \JKEBusinessData\OpenSSL-Win64\
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\4758cca.dll
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\aep.dll
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\atalla.dll
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\bftest.exe
            --a-- \JKEBusinessData\OpenSSL-Win64\bin\bntest.exe

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
× 158

Question asked: May 16 '13, 7:53 a.m.

Question was seen: 4,058 times

Last updated: May 16 '13, 9:36 a.m.

Confirmation Cancel Confirm