TCVcsShowHistory
Return to Introduction  Previous page  Next page
Displays the History report for the specified files, or outputs it to a file.

Delphi (TCIntf.pas)

procedure TCVcsShowHistory( FileList: TStrings; OutFile: String = '';   
              Columns: Integer = hrNone;   
              Version: Cardinal = 0;   
              Promotion: Cardinal = 0;  
                            FromVer: Cardinal = 0; ToVer: Cardinal = 0;   
              FromDate: TDateTime = 0; ToDate: TDateTime = 0;  
                            IncFromVersion: Boolean = False;   
              FileDetails: Boolean = False;  
              ShowNotes: Boolean = false );  

Parameters

Name
Description
FileList
List of files to display the report for
OutFile
If this is not an empty string, the report will be generated and stored in this file.
If you pass an empty string, the Report Criteria dialog will be displayed and the report can either be viewed or stored.
Columns
If OutFile is defined, specifies the columns to display. This can be a combination of the hrXXX constants defined in TCVcsConst.pas
Version
ID of a Version Label
Promotion
ID of a Promotion Label
FromVer, ToVer
Generates a report containing the history between the two labels.
FromDate, ToDate
Generates a report containing the history between the two dates
IncFromVersion
If generating a report for a Version range, includes the revision containing the initial Version Label
FileDetails
Includes extended file information in the file header
ShowNotes
If checked, any notes attached to the file will also be included.


Return Value

None

Remarks

If outputting directly to a file, all the rest of the parameters should be zero except for the parameters (or parameter pairs) that define your criteria.

Exported
 
procedure TCVcsShowHistory( pFileList, pOutFile: PChar;   
              Columns: Integer;   
              Version,   
              Promotion,   
              FromVer, ToVer: Cardinal;   
              FromDate, ToDate: Integer;   
              IncFromVersion,   
              FileDetails, ShowNotes: Boolean ); stdcall;  


 


© 1995-2018 MCN Software