It's all about the answers!

Ask a question

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


arun koshi (111) | asked May 16 '13, 7:53 a.m.
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

One answer



permanent link
Josh Crawford (984615) | answered May 16 '13, 9:36 a.m.
 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

Your answer


Register or 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.