The scm undo subcommand undoes changes to files or folders in a local workspace. If a file has uncommitted (not checked in) changes, scm undo removes them. If a file has changes that are part of an incomplete change set, scm undo removes the changes from that change set.
scm undo { [ -d | --dir ] workspace-path [ -v | --verbose ] } changes ...
scm undo { [ -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>type com.example.hellojazz.rcp.ui\src\com\example\hellojazz\rcp\ui\actions\messages.properties
Greeting=Hello
ProdName=Jazz
C:\local-workspaces\HelloJazz>scm checkin com.example.hellojazz.rcp.ui\src\com\example\hellojazz\rcp\ui\actions\messages.properties
Committing...
Workspace: (1101) "HelloJazz" <-> (1102) "HelloJazz Stream"
Component: (1103) "HelloJazz"
Outgoing:
Change sets:
(1116) --@ <No comment>
C:\local-workspaces\HelloJazz>type com.example.hellojazz.rcp.ui\src\com\example\hellojazz\rcp\ui\actions\messages.properties
Greeting=Hello
ProdName=Jazz
Flattery=Looking good
C:\local-workspaces\HelloJazz>scm undo com.example.hellojazz.rcp.ui\src\com\example\hellojazz\rcp\ui\actions\messages.properties
C:\local-workspaces\HelloJazz>type com.example.hellojazz.rcp.ui\src\com\example\hellojazz\rcp\ui\actions\messages.properties
Greeting=Hello
ProdName=Jazz
Did this help? You can provide feedback at Jazz.net (registration required): Comment in the forums or submit a bug