Changeset 9 for trunk/Units/UVCS.pas
- Timestamp:
- May 18, 2015, 11:49:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Units/UVCS.pas
r8 r9 19 19 procedure SetRepositoryURL(AValue: string); 20 20 protected 21 procedure ExecuteProcess(Command: string; Parameters: TStrings); virtual;21 procedure ExecuteProcess(Command: string; Parameters: array of string); virtual; 22 22 public 23 23 procedure Checkout; virtual; … … 25 25 procedure CleanUp; virtual; 26 26 procedure Commit(Message: TStrings); virtual; 27 procedure Move ; virtual;27 procedure Move(Source, Dest: string); virtual; 28 28 procedure Merge; virtual; 29 29 procedure Refresh; virtual; … … 35 35 Path: string; 36 36 end; 37 37 38 38 39 … … 57 58 end; 58 59 59 procedure TWorkingCopy.ExecuteProcess(Command: string; Parameters: TStrings);60 procedure TWorkingCopy.ExecuteProcess(Command: string; Parameters: array of string); 60 61 begin 61 62 FormConsole.Executable := Command; 62 FormConsole.Parameters.Assign(Parameters); 63 FormConsole.Parameters.Clear; 64 FormConsole.Parameters.AddStrings(Parameters); 63 65 if DirectoryExistsUTF8(Path) then FormConsole.WorkingDir := Path 64 66 else FormConsole.WorkingDir := ''; … … 86 88 end; 87 89 88 procedure TWorkingCopy.Move ;90 procedure TWorkingCopy.Move(Source, Dest: string); 89 91 begin 90 92
Note:
See TracChangeset
for help on using the changeset viewer.