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

scm accept can not detect the deleted directories/files?

I'm doing a test on command line client.
1> load a workspace on command line;
2> delete a directory and a file, and deliver the changes to RTC server from Eclipse RTC client;
3> use 'scm accept -r rtc -s <stream> -o' to accept the changes on command line.
but the latest command always say 'Workspace unchanged.'.
Couldn't 'scm accept' detect a deleted directory/file?

Thanks!

0 votes



One answer

Permanent link
Hi Liang,

I checked this scenario on 4.0.4
I have one Eclipse workspace "eickel-test jazzqual" connected with the stream "eickel-test" and one Shell workspace "eickel-test patch creation" which is connected to the same stream.

I deleted one folder within the Eclipse workspace and delivered this to the stream. I checked the Shell workspace within Eclipse if there would be in incoming changed and noticed that there is one.

Now I switched to the command line and run the following command:
C:\>scm accept -r jazzqual -s eickel-test -o -t "eickel-test patch creation"
Password (EICKEL_S @ https://jazzqual.rsint.net/ccm/):
 Repository: https://jazzqual.rsint.net/ccm/
Workspace: (2869) "eickel-test patch creation"
  Component: (2838) "BasisDiverse"
    Change sets:
      (2871) ---$  "deleted folder 'Structure'" 31-Oct-2013 10:22 AM
        Changes:
          --d-- \structure\
          --d-- \structure\testfile.txt

As you can see all changes will be accept correctly to the workspace.

Did you really choose the correct stream? Please recheck using Eclipse client.

Hope this helps,
Simon

0 votes

Comments

The above command only accepts the changes to the workspace but downloads it not automatically.

Checked the command with directly downloading the changes:
C:\ALM\workspaces\Shell_eickel_s-jazzqual>scm accept -o -r jazzqual -v
Repository: https://jazzqual.rsint.net/ccm/
Workspace: (2869) "eickel-test patch creation"
  Component: (2838) "BasisDiverse"
    Change sets:
      (2884) ---$  "deleted folder 'Structure'" 31-Oct-2013 11:10 AM
        Changes:
          --d-- \BasisDiverse\Structure\
          --d-- \Structure\newFile.txt
          --d-- \Structure\test.txt

C:\ALM\workspaces\Shell_eickel_s-jazzqual>

And everything works as expected ...

Hope this helps,
Simon

Thank you!
Now I found the issue is, not only the deleted files, but also the updated files can not be reflected to command line sandbox.
However, if I load codes into a new directory/sandbox, the codes are correct.
I'm not sure the root reason. I remember it works well before ...

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
× 12,019
× 1,202
× 158
× 113
× 19

Question asked: Oct 31 '13, 3:49 a.m.

Question was seen: 7,009 times

Last updated: Dec 16 '13, 3:55 p.m.

Confirmation Cancel Confirm