Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.29.6. delete_revision (::quartus::project)

The following table displays information for the delete_revision Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax delete_revision [-h | -help] [-long_help] [-remove_results] <revision_name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-remove_results Option to delete the database files
<revision_name> Revision name
Description
Deletes the specified revision from the current project. The corresponding
<revision name>.qsf file is deleted as well.
Example Usage
## Delete the revision called "tmp"
delete_revision tmp
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Can't delete the current revision: <string>. Specify a different revision name.
TCL_ERROR 1 ERROR: Can't delete revision because it is not included in the current project: <string> . Specify a revision name that is included in the project.
TCL_ERROR 1 ERROR: You must open a project before you can use this command.