just update changed files from the command line (lscm)
![](http://jazz.net/_images/myphoto/4d834322ce69bcf5786250bceba1fc5c.jpg)
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
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
One answer
![](http://jazz.net/_images/myphoto/4d834322ce69bcf5786250bceba1fc5c.jpg)
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.