Delphi (TCDirectIntf.pas)
function VcsPromote( FileID, PromotionID: Cardinal ): Integer;
|
Parameters
Name
|
Description
|
FileID
|
The ID of the file to Promote
|
PromotionID
|
The ID of the promotion level
|
Return Value
Err_OK if successful or an error code indicating the error.
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.
Exported
function TCDVcsPromote( FileID, PromotionID: Cardinal ): Integer; stdcall;
|
© 1995-2018 MCN Software