It's all about the answers!

Ask a question

Moving files


Swat Oon Kwee (611125) | asked Feb 13 '11, 8:08 p.m.
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



permanent link
Evan Hughes (2.4k1318) | answered Feb 14 '11, 12:25 p.m.
JAZZ DEVELOPER
Is it possible to move a repository file in RTC?

Yes.
Can I keep the change history of the file after moving it?

Yes.

permanent link
Thomas Loeber (62237750) | answered May 10 '11, 10:51 a.m.
JAZZ DEVELOPER
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?

permanent link
Geoffrey Clemm (30.1k33035) | 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
in RTC?Is it possible to move a repository file in
RTC?

Yes.
swatoonwrote:
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?

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.