move files between RTC component
Accepted answer
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(...)
One other answer
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:
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?