Using RTC 3.0.1, does "lscm move" work to move a file to a different subfolder?
Using RTC 3.0.1, does "lscm move" work to move a file to a different subfolder? I keep getting a error that the folder I'm in while running lscm (a layer or two under the Jazzhome folder) is not a shared folder or resource. So, I shared it, and it didn't work. I shared all the folders from the root down to where I was. Didn't work. The file I want to move is definitely in a local sandbox. (I'm trying to keep the history of the file changes. I don't want to simply recreate it in the destination and delete it from the source.)
So, I am trying to find out - is there any way to move a file and retain its history? |
One answer
You can find the answer in those questions that ask the same thing.
https://jazz.net/forum/questions/67621/move-files-between-rtc-component https://jazz.net/forum/questions/118228/move-files-and-folders-between-components-and-retain-history Comments
Donna Thomas
commented Sep 27 '13, 3:02 p.m.
The first one is not clear at all... move the file to its own "project" - is that project area? If so, then how do you move a project area into a component? That answer doesn't make sense.
|
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.
Comments
Sorry, I misinterpreted your question. Yes, it will move a file and retain history. At this point, it's difficult to understand what went wrong in your case. It would be useful if you provided the folder layout of what's already been shared, what you have loaded in your sandbox, and what command you tried to move the file.
ok - I'm running the command from (RTC_eclipse is my local jazzhome):
C:\RTC_eclipse\scmtools\eclipse
I have several real files to move, but this is a test command that I tried...
lscm move -u <username> -P <password> "\RTC_ws\Sandbox\Donna_test_instructions_v1\Donna_docs_for_test\Env_Docs\d1.txt" "\RTC_ws\Sandbox\Donna_test_instructions_v1\Donna_docs_for_test\Env_Docs\test\d1.txt"
I have tried this with and without the -u and -P. Also, I've tried with and without the quotes.
Every time I get the same response:
Could not initialize data area:
The directory "C:\RTC_eclipse\scmtools\eclipse" is not shared. This command must be run on a descendant of a directory that has either been shared or loaded.