Promote
Return to Introduction  Previous page  Next page
Promotes the specified files to the next Promotion Level. This command will promote the tip revision (as defined by the current View) to the next higher Promotion Level.

Syntax

tc Promote <TC Files> [-O] [-R] [-T] [-Y] [-?]  

Examples
 
Promotes all files in the current folder, and its subfolders, to the next higher Promotion Level

tc Promote * -R  

The following table describes the command-line options available with this command.

Option
Description
-O
Specify command output parameters
-R
Recursively Promote the files contained in subfolders
-T
Causes the command to terminate and return an error code when an error occurs.
-Y
Specify a Username and/or Password
@<filename>
Specify a file containing the list of files to promote
-?, -H
Request online help for a command


Remarks

Both the Tip Revision and the next higher Promotion Level are defined by the currently selected View. If the current View is based on a Version Label, the revision that has the Version Label attached will be promoted to the first Promotion Level. If the current View is based on a Promotion Level, the revision that is currently at that level will be promoted to the next higher Promotion Level.

If the <default> View is current, or the current View is based on neither a Version Label or Promotion Level, the tip revision of each file will be promoted.


 


© 1995-2018 MCN Software