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
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
One answer
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:
(:-).
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
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.