-
Look up the commitID of the version being rolled back. There are several ways to get a
commit ID, including running the history command.
-
From the command-line client, run the
rollback command.
sws rollback [-h] [--verbose] [--cfile CFILE] [--comment COMMENT] [--dir DIR] --commit COMMITID PATH
For
more information on understanding the rollback command, see Understanding the sws rollback Command. For information on each specific option, see sws rollback Command Options.
Result: If the command succeeds, the specified rollback version becomes the latest version and
the locks are released. If the command does not succeed, it returns an appropriate
error.