Undoes all changes since an earlier version of a file.
ss Rollback VSS file [-G] [-H] [-I-] [-N] [-O] [-V] [-W] [-Y] [-?]
Rolls back TEST.C to version 10:
ss Rollback TEST.C -V10
Rolls back TEST.C to version 2.01b:
ss Rollback TEST.C -VL2.01b
The following table describes the command-line options available with this command.
Option | Description |
-V | Specify which file version to roll back to; required unless you are sharing an earlier version of a file. |
-G | Set Get options for the retrieved local copy. |
-W | Make the retrieved local copy writable. |
-O | Paginate or redirect the command output. |
-I- | Ignore: Do not ask for input under any circumstances. |
-N | Change between long and short file name mode. |
-Y | Specify a username and/or password. |
-?, -H | Request online Help on a command. |
You must have the Destroy access right to use this command.
Rollback performs a Get operation when it is done, unless the Delete_Local initialization variable in SS.INI is set to Yes, or you use the -G- command-line option to prevent it.