The scm discard subcommand discards change sets from a workspace.
scm discard { [ -d | --dir ] workspace-path [ -v | --verbose ] } changes ...
scm discard { [ -u | --username ] user ID in repository [ -P | --password ] password for user ID in repository [ -d | --dir ] workspace-path [ -v | --verbose ] } changes ...
C:\local-workspaces\HelloJazz>scm status
Workspace: (1101) "HelloJazz" <-> (1102) "HelloJazz Stream"
Component: (1103) "HelloJazz"
Baseline: (1108) 3 "beta2 updates"
Outgoing:
Change sets:
(1110) --@ <No comment>
C:\local-workspaces\HelloJazz>scm discard 1110
If you run scm status again, you can see that change set is no longer in the workspace.C:\local-workspaces\HelloJazz>scm status
Workspace: (1101) "HelloJazz" <-> (1102) "HelloJazz Stream"
Component: (1103) "HelloJazz"
Baseline: (1108) 3 "beta2 updates"
Did this help? You can provide feedback at Jazz.net (registration required): Comment in the forums or submit a bug