Moving files
Hi,
Is it possible to move a repository file in RTC? Can I keep the change history of the file after moving it? Thanks. Swat |
3 answers
Is it possible to move a repository file in RTC? Yes. Can I keep the change history of the file after moving it? Yes. |
Is it possible to move a repository file in RTC? Yes. Can I keep the change history of the file after moving it? Yes. So this implies that files can be moved between components, if access right allow? |
Geoffrey Clemm (30.1k●3●30●35)
| answered May 10 '11, 6:37 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A couple of notes on cross-component move:
- Although the history is preserved, a change set is currently tied to a specific component. So if you accept a change set that modifies the file in its original component, that change set will not be applied to the file in its new component. There is a work item asking for help applying that change-set to its new target (work item 21636). - It may not be obvious how to move a repository file to a new component using the Eclipse client. You can move folders that are Eclipse project roots using the "Team -> Move In Repository" operation. So to move an arbitrary folder to another component, load just that folder as a project (and don't checkin the .project file that Eclipse will automatically create for you). To move just a file, you could do something like: - create a dummy folder - move the file to that dummy folder - move the folder to the new component - move the file where it should go - remove the folder. Cheers, Geoff On 5/10/2011 10:53 AM, thloeber wrote: echugheswrote:Is it possible to move a repository file So this implies that files can be moved between components, if access right allow? |
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.