Changeset 16
- Timestamp:
- Jul 15, 2015, 8:32:42 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Backends/Subversion/USubversion.pas
r15 r16 142 142 NewItem := nil; 143 143 Log.Clear; 144 SilentExecution := True; 144 145 Execute(['log', FileName, '-v']); 146 SilentExecution := False; 145 147 for I := 0 to ExecutionOutput.Count - 1 do begin 146 148 Line := Trim(ExecutionOutput[I]); … … 187 189 begin 188 190 Status.Clear; 191 SilentExecution := True; 189 192 Execute(['status', '--xml', '-v']); 193 SilentExecution := False; 190 194 S := TStringStream.Create(ExecutionOutput.Text); 191 195 try -
trunk/Forms/UFormConsole.pas
r13 r16 62 62 procedure TFormConsole.FormShow(Sender: TObject); 63 63 begin 64 Memo1.Clear;65 64 ButtonAbort.Enabled := False; 66 65 Timer1.Enabled := True; … … 101 100 Aborted := False; 102 101 ButtonAbort.Enabled := True; 102 Log.Clear; 103 Memo1.Clear; 103 104 if WorkingDir <> '' then 104 105 Process.CurrentDirectory := WorkingDir; … … 124 125 Line := Copy(Text, 1, Pos(LineEnding, Text) - 1); 125 126 Delete(Text, 1, Length(Line) + Length(LineEnding)); 126 Memo1.Lines.Add(Line); 127 if Visible then Memo1.Lines.Add(Line); 128 Log.Add(Line); 127 129 end; 128 130 end; … … 136 138 Line := Copy(Text, 1, Pos(LineEnding, Text) - 1); 137 139 Delete(Text, 1, Length(Line) + Length(LineEnding)); 138 Memo1.Lines.Add(Line); 140 if Visible then Memo1.Lines.Add(Line); 141 Log.Add(Line); 139 142 end; 140 143 end; … … 143 146 end; 144 147 finally 145 Memo1.Lines.Add(Text); 148 if Visible then Memo1.Lines.Add(Text); 149 Log.Add(Text); 146 150 FreeAndNil(Process); 147 151 end; 148 Log.Assign(Memo1.Lines);149 152 ButtonAbort.Enabled := False; 150 153 //ModalResult := mrOK; -
trunk/Units/UVCS.pas
r15 r16 62 62 Password: string; 63 63 Email: string; 64 SilentExecution: Boolean; 64 65 ExecutionOutput: TStringList; 65 66 procedure Checkout; virtual; … … 204 205 if DirectoryExistsUTF8(Path) then FormConsole.WorkingDir := Path 205 206 else FormConsole.WorkingDir := ''; 206 FormConsole.ShowModal; 207 if SilentExecution then FormConsole.Perform 208 else FormConsole.ShowModal; 207 209 ExecutionOutput.Assign(FormConsole.Log); 208 210 end; -
trunk/VCSCommander.lpi
r15 r16 95 95 <HasResources Value="True"/> 96 96 <ResourceBaseClass Value="Form"/> 97 <UnitName Value="UFormMain"/>98 97 </Unit1> 99 98 <Unit2> … … 103 102 <HasResources Value="True"/> 104 103 <ResourceBaseClass Value="DataModule"/> 105 <UnitName Value="UCore"/>106 104 </Unit2> 107 105 <Unit3> … … 111 109 <HasResources Value="True"/> 112 110 <ResourceBaseClass Value="Form"/> 113 <UnitName Value="UFormBrowse"/>114 111 </Unit3> 115 112 <Unit4> 116 113 <Filename Value="Units/UVCS.pas"/> 117 114 <IsPartOfProject Value="True"/> 118 <UnitName Value="UVCS"/>119 115 </Unit4> 120 116 <Unit5> … … 124 120 <HasResources Value="True"/> 125 121 <ResourceBaseClass Value="Form"/> 126 <UnitName Value="UFormFavorites"/>127 122 </Unit5> 128 123 <Unit6> … … 132 127 <HasResources Value="True"/> 133 128 <ResourceBaseClass Value="Form"/> 134 <UnitName Value="UFormSettings"/>135 129 </Unit6> 136 130 <Unit7> 137 131 <Filename Value="Backends/Subversion/USubversion.pas"/> 138 132 <IsPartOfProject Value="True"/> 139 <UnitName Value="USubversion"/>140 133 </Unit7> 141 134 <Unit8> 142 135 <Filename Value="Units/UProject.pas"/> 143 136 <IsPartOfProject Value="True"/> 144 <UnitName Value="UProject"/>145 137 </Unit8> 146 138 <Unit9> … … 150 142 <HasResources Value="True"/> 151 143 <ResourceBaseClass Value="Form"/> 152 <UnitName Value="UFormConsole"/>153 144 </Unit9> 154 145 <Unit10> … … 165 156 <HasResources Value="True"/> 166 157 <ResourceBaseClass Value="Form"/> 167 <UnitName Value="UFormCheckout"/>168 158 </Unit11> 169 159 <Unit12> … … 178 168 <Filename Value="Backends/CVS/UCVS.pas"/> 179 169 <IsPartOfProject Value="True"/> 180 <UnitName Value="UCVS"/>181 170 </Unit14> 182 171 <Unit15> … … 195 184 <IsPartOfProject Value="True"/> 196 185 <ComponentName Value="FormTest"/> 186 <HasResources Value="True"/> 197 187 <ResourceBaseClass Value="Form"/> 198 188 </Unit17> … … 201 191 <IsPartOfProject Value="True"/> 202 192 <ComponentName Value="FormProjectGroup"/> 193 <HasResources Value="True"/> 203 194 <ResourceBaseClass Value="Form"/> 204 195 </Unit18>
Note:
See TracChangeset
for help on using the changeset viewer.