Moving files
3 answers
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:
So this implies that files can be moved between components, if access
right allow?
- 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?