RegisterLog In to

It's all about the answers!

Ask a question

copy files between two components in one stream

Lin Ye (2862010) | asked Jun 08 '10, 4:47 p.m.

I have two components with the same name "c1" in a stream "main". Is there any way I could copy files from one component to another without creating an additional copy on local machine? Thanks


2 answers

Nick Edgar (6.3k310) | answered Jun 10 '10, 10:31 p.m.
If you have the files loaded in the RTC client, you can use Team > Move in Repository... to move them to the other component. This will create 2 change sets, one for the removals in the first, and one for the additions in the second. You could then deliver the additions, and discard the removals. The result would be a copy, but where you'd have the contents of the second component loaded. You could reload the first component and select all to overwrite to get back to your starting state. The names of the components don't matter. Note that this approach preserves version history.

Lin Ye (2862010) | answered Jun 11 '10, 12:48 a.m.

Thank you very much for your reply.


Your answer

Register or log in to post your answer.