Changeset 9 for trunk/Units/UVCS.pas


Ignore:
Timestamp:
May 18, 2015, 11:49:39 PM (10 years ago)
Author:
chronos
Message:
  • Added: Simple Bazaar backend.\n* Added: Support for backends dynamic registration.\n* Added: Backend selection in checkout form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Units/UVCS.pas

    r8 r9  
    1919    procedure SetRepositoryURL(AValue: string);
    2020  protected
    21     procedure ExecuteProcess(Command: string; Parameters: TStrings); virtual;
     21    procedure ExecuteProcess(Command: string; Parameters: array of string); virtual;
    2222  public
    2323    procedure Checkout; virtual;
     
    2525    procedure CleanUp; virtual;
    2626    procedure Commit(Message: TStrings); virtual;
    27     procedure Move; virtual;
     27    procedure Move(Source, Dest: string); virtual;
    2828    procedure Merge; virtual;
    2929    procedure Refresh; virtual;
     
    3535    Path: string;
    3636  end;
     37
    3738
    3839
     
    5758end;
    5859
    59 procedure TWorkingCopy.ExecuteProcess(Command: string; Parameters: TStrings);
     60procedure TWorkingCopy.ExecuteProcess(Command: string; Parameters: array of string);
    6061begin
    6162  FormConsole.Executable := Command;
    62   FormConsole.Parameters.Assign(Parameters);
     63  FormConsole.Parameters.Clear;
     64  FormConsole.Parameters.AddStrings(Parameters);
    6365  if DirectoryExistsUTF8(Path) then FormConsole.WorkingDir := Path
    6466    else FormConsole.WorkingDir := '';
     
    8688end;
    8789
    88 procedure TWorkingCopy.Move;
     90procedure TWorkingCopy.Move(Source, Dest: string);
    8991begin
    9092
Note: See TracChangeset for help on using the changeset viewer.