It's all about the answers!

Ask a question

move files between RTC component


GURVINDER SOKHI (731340) | asked Nov 21 '11, 3:20 p.m.
retagged Oct 23 '18, 4:23 p.m. by Ken Tessier (84117)

Is it possible to move version controlled files/directories between components and equally preserve all version history of the moved elements?

Accepted answer


permanent link
David Lafreniere (4.8k7) | answered Oct 15 '18, 12:35 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The ability to move entire Eclipse Projects (or Solutions in Visual Studio) has been in the product for a very long time. You would use the context menu action of "Team" --> "Move in Repository...".

The ability to move individual files and folders to other components has been added in RTC 6.0.3. You can use the context menu action of "Team" --> "Move in Repository" Note that this action does support multi-selection.

There is a brief mention of this feature in the RTC 6.0.3 'New & Noteworthy' as shown here:
(At the moment I am not sure where the official help documentation is for this)

This feature was added in the following work item:

In terms of client-side API, see: IWorkspaceConnection.moveVersionablesBetweenComponents(...)
In terms of server-side API, see: IScmService.moveVersionablesWithHistory(...)
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 21 '11, 4:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
For Visual Studio, this is documented in the help topic named "Moving
solutions to other components". The same advice works for the Eclipse
client, but in Eclipse, you move "projects" and not "solutions".

To move an individual file, you have to move it to its own project, then
move that project to the new component, and then move the file to where
you really want it.

Cheers,
Geoff


On 11/21/2011 3:23 PM, gsokhi wrote:
Is it possible to move version controlled files/directories between
components and equally preserve all version history of the moved
elements?

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.