code promotion from one stream to another from cmd line
One answer
Ravi,
first, use >scm add flowtarget to ensure Stream_2 is a flow target for Stream_1
Next, use >scm deliver --source Stream_1@repo --target Stream_2@repo
with whatever additional parameters you need and of course repo set to your repo alias.
Since the deliver might fail in case there are conflicts which cannot be resolved in a stream you might want to wrap these commands in a batch script.
If this is helpful please mark the answer as accepted.
- Arne