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

just update changed files from the command line (lscm)

Hi,

We tend to work on multiple platforms with the same source code. If for example we update the repository workspace from windows and we then go to a linux box and want to JUST load those changes to the unix box.

doing an lscm load will complain about collisions and suggest that you use --force.

If you use --force, you will wipe any files in the local workspace that are not in the repository one, which if you have build that has generated intermediate files you will loose these and be forced to re-build from scratch again.

Is there any way to say "Update files changed since the last time I did a LOAD" ?

Jas

0 votes



One answer

Permanent link
Hi,

We tend to work on multiple platforms with the same source code. If for example we update the repository workspace from windows and we then go to a linux box and want to JUST load those changes to the unix box.

doing an lscm load will complain about collisions and suggest that you use --force.

If you use --force, you will wipe any files in the local workspace that are not in the repository one, which if you have build that has generated intermediate files you will loose these and be forced to re-build from scratch again.

Is there any way to say "Update files changed since the last time I did a LOAD" ?

Jas


If I understand correctly, the same workspace is used across both the platforms. This is not an issue with respect to multiple platforms. You will see the same behavior if you have loaded the same workspace in different directories on a single machine. If you do a commit in one of the directories and go to the other directory and run 'lscm status', scm will complain that the directory is not in sync.
In this case, there is no way to download only the changed files.

In the case of two different repositories (each loaded on different platforms) flowing to a stream, the changes would show up when you run "lscm status" and "lscm accept" will get you the changes.

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

Question asked: Jul 13 '10, 6:22 a.m.

Question was seen: 5,559 times

Last updated: Jul 13 '10, 6:22 a.m.

Confirmation Cancel Confirm