Changeset 5 for trunk/Units/UVCS.pas
- Timestamp:
- Sep 1, 2014, 7:26:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Units/UVCS.pas
r4 r5 16 16 FPath: string; 17 17 procedure SetPath(AValue: string); 18 protected 19 procedure Execute(Command: string); virtual; 18 20 public 19 21 procedure Checkout; virtual; … … 34 36 implementation 35 37 38 uses 39 UFormConsole; 36 40 37 41 { TWorkingCopy } … … 39 43 procedure TWorkingCopy.SetPath(AValue: string); 40 44 begin 41 if FPath =AValue then Exit;45 if FPath = AValue then Exit; 42 46 FPath := AValue; 43 47 Refresh; 48 end; 49 50 procedure TWorkingCopy.Execute(Command: string); 51 begin 52 FormConsole.Executable := 'svn'; 53 FormConsole.Parameters.Add(Command); 54 FormConsole.WorkingDir := Path; 55 FormConsole.Perform; 44 56 end; 45 57
Note:
See TracChangeset
for help on using the changeset viewer.