Why does moving files between components not maintain history?
Karthik Krishnan (889●9●123●165)
| asked Aug 30 '13, 3:46 a.m.
edited Aug 30 '13, 2:02 p.m. by Geoffrey Clemm (30.1k●3●30●35)
I moved the contents from a component from Stream A to a component in Stream B
I used "Refactor->Move" in the Package explorer in the Eclipse client. I am using Eclipse Helips 3.7.2 with RTC 4.0.2 client
By doing like this, the history is not preserved. Any idea what I am doing wrong?
I am moving some files only from a component and not the whole component
|
Accepted answer
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 30 '13, 2:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The work item requesting support for arbitrary cross-component moves is provide cross component move support for arbitrary locations and names in configuration (21637) .
Please feel free to add a comment indicating your interest/support. Karthik Krishnan selected this answer as the correct answer
Comments
Karthik Krishnan
commented Aug 31 '13, 1:03 a.m.
Thanks. Will subscribe myself. Looks like not a lot happening on that
How do you guys manage this internally to move files across streams? are there any other indirect methods to this without messing the history?
Geoffrey Clemm
commented Aug 31 '13, 10:19 a.m.
| edited Aug 31 '13, 10:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note: If there is sufficient customer demand, sometimes very old work items do get implemented, so I wouldn't let the age of a request deter you from adding a comment indicating your interest/support.
|
One other answer
That is an Eclipse action performing the refactoring. It isn't detected by RTC as a cross component move. Currently, RTC only supports a cross component move of a project. There is a workaround to this limitation that may be acceptable for you:
1. Move the files to a new project (temporary project) in the source component 2. Use the Team > Move in Repository... action on the project from the Package Explorer to move it to the target component 3. Move your files from the project to where you want it to be and delete your temporary project Comments
Karthik Krishnan
commented Aug 31 '13, 1:01 a.m.
The Team->Move in Repository is only at the component level and not at the file/folder level inside the components. |
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.