Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Moving code between RTC components - history

Hi all

On 2.0.0.2 ifix2. I can move files around inside an RTC component via drag and drop, and the move/refactoring options. This preserves the history.

However, if I move a file between RTC components - the history on the file is lost (in the sense the new file now has one line of history, creation)

Is there are way to move files between components and preserve history?

thanks

anthony

1

0 votes



One answer

Permanent link
This function is partially supported, but you have to know where to look
(:-).

In particular, it doesn't trigger off of the "move/refactoring"
operation. Also, you can only apply it to a directory that is the
immediate child of the logical component root directory.

So what you do is right click on a a directory that is the immediate
child of the logical component root directory. You will see there is a
"Team -> Move in Repository" operation. That's the one that that will
move with history (it will move the directory and all of its children
with history).

So the current workaround to let you move an arbitrary file/directory is:
- create a dummy project in your component.
- do a regular move of the things you want to move into that dummy project
- use the Team->MoveInRepository to move that dummy project to the
destination component
- move the files/directories to where you really want them to go.
- do a "Team->RemoveInRepository" on that dummy project

Work item 56504 effectively requests that we automate the sequence of
steps in that workaround.

Cheers,
Geoff

On 5/12/2010 7:23 AM, kesterto wrote:
Hi all

On 2.0.0.2 ifix2. I can move files around inside an RTC component via
drag and drop, and the move/refactoring options. This preserves the
history.

However, if I move a file between RTC components - the history on the
file is lost (in the sense the new file now has one line of history,
creation)

Is there are way to move files between components and preserve
history?

thanks

anthony

1 vote

Comments

Geoff,

  I am trying to do this as you described.  I have the root of my component loaded as a project.  I created a new project and stored it in the root folder of my component.  I was able to move my content into the project folder.  When I try doing the Move In Repository operation I get a message stating that "Cannot perform a Move in Repository because '/RTC_Admin_Docs' is not a share root."

  Is this a problem due to having loaded the root folders of the component as a project?  Do I have to unload my component and reload the folder I want to move?

Thanks,

Jamie.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 12 '10, 7:09 a.m.

Question was seen: 8,935 times

Last updated: Nov 29 '12, 5:19 p.m.

Confirmation Cancel Confirm