|
--dir <directorypath>,-d
<directorypath>
|
The design workspace path.
--dir can be abbreviated as -d. If
--dir is not specified. The default value is the current working
directory. |
--comment <Comment>,
-c <Comment> |
Comment describing the reasons for the rollback. Enclose comments
with spaces in quotes. For example, sws rollback --comment "Updated
specification with review comments"[...] Either the
--comment or --cfile option must be specified.
--comment can be abbreviated as -c. There is
no default value.
|
--cfile <Path>, -C
<Path> |
The path to a text file containing the rollback comment. The
--cfile option does not use the --dir option, so
the checkin comment file can be in a different directory path from the checkin files.
For example, sws rollback --dir doc --cfile ~\comments\listofchanges.txt
[...] Either --comment or --cfile
must be specified.--cfile can be abbreviated as
-C (Upper-case C). There is no default value for the file name,
but if no path is specified, the comment file must be in the current working
directory.
|
--verbose, -v |
Display verbose output. When --verbose is not
specified, the command returns a success message that includes the number of files
committed and the amount of data transferred. When --verbose is
specified, the output also includes a list of the added, removed, and modified files
committed to the server. --verbose can be abbreviated as
-v. By default, the verbose mode is not selected. |
--commit CommitID |
The full commit ID of the item version to revert to. You can view
the full commitID by running sws history with the -verbose switch. The commitID
provided must be in the ancestry of the commit in the workspace. You must specify a
commitID. There is no default value. There is no abbreviation. |
[--keep-locks], -l |
Retain the lock on all objects being updated to the rollback
version. If you do not specify --keep-locks, the rollback operation
releases the locks on all affected objects. --keep-locks can be
abbreviated as -l. By default, the locks are released. |
| PATH |
Relative or absolute path to the item in the workspace that is
being rolled back to the version specified with the --commit option.
Note:
If a relative path is specified, the path is relative to the --dir
option provided, or, if no --dir option is specified, the
current working directory.
The item must be a dynamic version and cannot
be a link to a cached item. Static items cannot be rolled back. |
--help, -h |
Displays simplified help focused on the most useful
information.--help can be abbreviated as
-h. |