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

How do I export a text list of file name and paths that have been modified between two baselines?

 I'm using RTC 5.0.2 Eclipse and I am attempting to generate a list of the files (and their paths) that were modified between two baselines. If I do a Compare between the two baselines it generates the modified change list, but I can only use the "copy text" command on the summary line. I need the folder structure and file name.
E.g. Show baselines, select _int-R16.2.1.0.11_20160323-08.06 and select _int-R16.2.1.0.02_20160307-22.38 right click and Compare. In the resulting list of change sets, I need to export the file name and directory structure; however, the copy text contextual menu option only works on the change set summary.

0 votes



3 answers

Permanent link
I would consider using the SCM Commandline for this: https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html

0 votes


Permanent link
 I am not sure if you can get full path from the command line, but you can try these two steps -

1. >lscm compare -r https://localhost:9443/jazz -u <user> -P <pwd> -c <Component>  baseline <Baseline1> baseline <Baseline2> -I s -S c

Where you can adjust arguments for -I and -S depending on how much information you want. This will list the changesets  -
(4227) TestJazzUser1 <TestJazzUser1@does-not.exist> cs1
(4228) TestJazzUser1 <TestJazzUser1@does-not.exist> cs2
(4229) TestJazzUser1 <TestJazzUser1@does-not.exist> cs4

2. You will now need to run another command to see changes in the changesets above -
>lscm list changes 4228 4229  -r https://localhost:9443/jazz -u <user> -P <password>

The result will look like this -
Change sets:
  (4228) ----$ TestJazzUser1 "cs2"
    Component: (4222) "TestPA Default Component"
    Modified: 24-Mar-2016 01:48 PM
    Changes:
      ---c- (4230) \<unresolved>\Activator.java
      ---c- (4231) \<unresolved>\SamplePropertyPage.java
  (4229) ----$ TestJazzUser1 "cs4"
    Component: (4222) "TestPA Default Component"
    Modified: 24-Mar-2016 01:49 PM
    Changes:
      ---c- (4230) \<unresolved>\Activator.java
      ---c- (4231) \<unresolved>\SamplePropertyPage.java


0 votes


Permanent link

Hi

I use the Save Change Log option from the Change Explorer window

1. Compare baselines

2. On the top right-hand corner of the Change Explorer window click the small down arrow and select Save Change Log option

3. From the next window select what it is you want to report (in your case the "Filesystem changes" option. I usually chose the Clipboard option in the Save Location section but you can output to a file directly

Is that what you mean?

D

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,020

Question asked: Mar 23 '16, 1:10 p.m.

Question was seen: 2,780 times

Last updated: Mar 30 '16, 4:55 a.m.

Confirmation Cancel Confirm