set_current_revision (::quartus::project_ui)
The following table displays information for the set_current_revision
Tcl command:
Tcl Package and Version |
Belongs to ::quartus::project_ui 1.0 |
|||
Syntax |
set_current_revision [-h | -help] [-long_help]
[-force]
<revision_name>
|
|||
Arguments |
-h | -help
|
Short help | ||
-long_help
|
Long help with examples and possible return values | |||
-force
|
Option to open the revision and overwrite the compilation database if the database version is incompatible. | |||
<revision_name> | Revision name | |||
Description |
|
|||
Example Usage |
|
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_OK | 0 | WARNING: Revision is already the current revision: <string>. No action is required. | ||
TCL_ERROR | 1 | ERROR: You must open a project before you can use this command. | ||
TCL_ERROR | 1 | ERROR: Revision file does not exist: <string>.qsf. Use delete_revision to delete the revision from the current project. Then use create_revision to create the revision and its .qsf before setting <string> as the current revision. | ||
TCL_ERROR | 1 | ERROR: Revision is not included in the current project: <string> . Use the create_revision command to create the revision. |