Changeset 6 for trunk/Units/UVCS.pas


Ignore:
Timestamp:
May 6, 2015, 11:19:49 AM (9 years ago)
Author:
chronos
Message:
  • Added: Now opened projects are remembered between application restarts.
  • Added: Show basic list of files in selected project.
  • Added: Packages Common and TemplateGenerics.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Units/UVCS.pas

    r5 r6  
    1717    procedure SetPath(AValue: string);
    1818  protected
    19     procedure Execute(Command: string); virtual;
     19    procedure ExecuteProcess(Command: string; Parameters: TStrings); virtual;
    2020  public
    2121    procedure Checkout; virtual;
     
    4848end;
    4949
    50 procedure TWorkingCopy.Execute(Command: string);
     50procedure TWorkingCopy.ExecuteProcess(Command: string; Parameters: TStrings);
    5151begin
    52   FormConsole.Executable := 'svn';
    53   FormConsole.Parameters.Add(Command);
     52  FormConsole.Executable := Command;
     53  FormConsole.Parameters.Assign(Parameters);
    5454  FormConsole.WorkingDir := Path;
    55   FormConsole.Perform;
     55  FormConsole.ShowModal;
    5656end;
    5757
Note: See TracChangeset for help on using the changeset viewer.