How can I find these not checked-in files?
I am getting this error message during deliver. But I don't see any Pending Changes. How can I find these not checked-in files?
Thanks
Jirong
C:\Workspace\Administrator\recipe2.promote>scm deliver --target "JUnit Integration Stream"
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Problem running 'deliver':
Cannot deliver because there are one or more items that are not checked in. Check in the changes or rerun with --overwrite-uncommitted.
Thanks
Jirong
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Problem running 'deliver':
Cannot deliver because there are one or more items that are not checked in. Check in the changes or rerun with --overwrite-uncommitted.
2 answers
Did you try: scm status ?
It should display all the unresolved files.
Unresolved files means they were not checked in.
For example, if you run the following CLI:
>scm login -r https://<jazz>:9443/ccm/ -u <my> -P <my> -n jazzserver
>scm load -r jazzserver -d myWS <my>
>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <1001>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <-> (1001) "JUnit"
Baseline: (1003) 1 "Initial Baseline"
Unresolved:
-c- /JUnit Examples/src/com/ibm/team/junit/examples/Math.java
I hope it will help.
It should display all the unresolved files.
Unresolved files means they were not checked in.
For example, if you run the following CLI:
>scm login -r https://<jazz>:9443/ccm/ -u <my> -P <my> -n jazzserver
>scm load -r jazzserver -d myWS <my>
>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <1001>scm status -d myWS
Workspace: (1000) "PKJUnitWS" <-> (1001) "JUnit"
Component: (1002) "JUnit" <-> (1001) "JUnit"
Baseline: (1003) 1 "Initial Baseline"
Unresolved:
-c- /JUnit Examples/src/com/ibm/team/junit/examples/Math.java
I hope it will help.
I was running the command from another workspace's sandbox.
C:\Workspace\Administrator>scm load -r localhost "Temporary Build Workspace"
Item exists in filesystem: /recipe2.promote
Problem running 'load':
Load could not complete due to collisions. Overwrite existing items with --force.
C:\Workspace\Administrator>scm load -r localhost "Temporary Build Workspace" --force
C:\Workspace\Administrator>scm status
Workspace: (1016) "Temporary Build Workspace" <-> (1017) "JUnit Integration Str>
Component: (1014) "recipe1.deliver" <1017>scm deliver --target "JUnit Integration Stream"
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Deliver command successfully completed.
C:\Workspace\Administrator>
Item exists in filesystem: /recipe2.promote
Problem running 'load':
Load could not complete due to collisions. Overwrite existing items with --force.
C:\Workspace\Administrator>scm load -r localhost "Temporary Build Workspace" --force
C:\Workspace\Administrator>scm status
Workspace: (1016) "Temporary Build Workspace" <-> (1017) "JUnit Integration Str>
Component: (1014) "recipe1.deliver" <1017>scm deliver --target "JUnit Integration Stream"
Delivering changes:
Workspaces:
(1016) "Temporary Build Workspace" --> (1017) "JUnit Integration Stream"
Components:
(1014) "recipe1.deliver"
Deliver command successfully completed.
C:\Workspace\Administrator>