Ignore:
Timestamp:
May 18, 2015, 12:15:30 AM (10 years ago)
Author:
chronos
Message:
  • Added: Checkout form and ability to checkout new working copy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormConsole.pas

    r6 r8  
    9292  Line: string;
    9393  CommandLine: string;
     94  I: Integer;
    9495begin
    9596  Text := '';
     
    104105      Process.Environment.Text := Environment;
    105106    Environment := '';
    106     //Process.Executable := Executable;
    107     //Process.Parameters.Assign(Parameters);
    108     Process.CommandLine := Executable + ' ' + Parameters.Text;
     107    Process.Executable := Executable;
     108    Process.Parameters.Assign(Parameters);
     109    //for I := 0 to Process.Parameters.Count - 1 do
     110    //  ShowMessage('"' + Process.Parameters[I] + '"');
     111    //Process.CommandLine := Executable + ' checkout http://svn.zdechov.net/svn/xtactics /home/chronos/Smazat/svn3';
     112    //Process.Parameters.Clear;
     113    //Process.Parameters.Add('checkout');
     114    //Process.Parameters.Add('http://svn.zdechov.net/svn/xtactics');
     115    //Process.Parameters.Add('/home/chronos/Smazat/svn3');
     116    //Process.Parameters.Add('checkout');
     117    //Process.Parameters.Add('dasd');;
     118    //Process.CommandLine := Executable + ' ' + Parameters.Text;
    109119    CommandLine := Executable + ' ' + StringReplace(Parameters.Text, LineEnding, ' ', [rfReplaceAll]);
    110120    if CommandLine[Length(CommandLine)] = LineEnding then
Note: See TracChangeset for help on using the changeset viewer.