Source Control: Move a file without loosing history
Hi
I am using RTC through the Web client and the Desktop client built on eclipse. I can find nowhere the option or the documentation how to move a file from one folder to the next and keeping the file history. This is now in source control. Please help me or point me to the right direction. Thanks |
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Apr 05 '16, 8:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please see https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.1/com.ibm.team.concert.dotnet.doc/topics/t_move_file_folder.html
Also see these questions, if you move across component borders.
Comments
Henkie Maritz
commented Apr 07 '16, 6:56 a.m.
Thanks. My move is within a folder. I did saw this article:
1
Ralph Schoon
commented Apr 08 '16, 3:55 a.m.
| edited Apr 09 '16, 12:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you just want to move a simple file within one project or component use the move and refactor commands in Eclipse and the history will be preserved.
Henkie Maritz
commented Apr 12 '16, 10:16 a.m.
Thanks, makes sense.
1
Ralph Schoon
commented Apr 12 '16, 10:21 a.m.
| edited Apr 13 '16, 12:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What is a MS Word specification file? Just a Word doc?
You definitely want to lock the file before editing. In 5.0.2, there should be a feature to make files read only in a stream based on the extension and to auto lock the file. This only works with editors in Eclipse and I haven't been able to use this with word or PPT files. Maybe I am missing something. 1
Geoffrey Clemm
commented Apr 12 '16, 12:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Ralph: Why the advice not to use the SCM command line? Is there some problem with the "scm move path" command? And in 6.0.2, you have the "scm move repository-path" which supports cross-component moves.
Ralph Schoon
commented Apr 13 '16, 12:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I agree and reworded the comment, Geoff.
showing 5 of 6
show 1 more comments
|
Hi Ralph, Geoffrey
Yes, just a Word Doc. Seems to me the scm command line is the answer. Eclipse and Visual Studio are geared for code. We'll use the web UI rather for the MS Word repository. More user friendly and cater for everything except move. scm command we will use then in the rare case of moving files. |
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.