It's all about the answers!

Ask a question

How to auto accept incoming changes of a stream?

GNANAPRAKASH SELVAKUMAR (1123) | asked Sep 15 '12, 11:20 a.m.
edited Oct 12 '17, 12:56 p.m. by David Lafreniere (4.8k7)

 I have 2 streams, stream A and stream B. The flow target of stream B is Stream A.

Every time I have to manually accept the incoming changes from stream A and deliver the outgoing stream A. I want this to happen automatic unless some conflicts are there. 

What is wrong with the below command line to accept all changes from streamA to streamB(assuming i logged in already)
scm accept -r <repository> -s streamA -t streamB

I am planning to run the above command periodically to accept changes. 

Accepted answer

permanent link
Michael Valenta (3.7k3) | answered Sep 17 '12, 10:23 a.m.
In RTC 3.0.1.x, accept will only work if the target is workspace. However "scm deliver-r <repository> -s streamA -t streamB" should work.
David Lafreniere selected this answer as the correct answer

David Lafreniere commented Oct 12 '17, 12:56 p.m.

Also note that at some point after RTC 3.x we added the ability to show a Stream in the Pending Changes view. This way you can accept/deliver from 2 streams.

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.